Sign in to Claude

One-time OAuth flow that gives HISAB permission to call the Claude API on your behalf.

The command

From PowerShell (Win+R → powershell → Enter), paste:

claude /login

Your default browser opens to https://claude.ai/oauth/authorize. Sign in, accept the requested permissions (read claude.ai user info, use the Code Workspace), and the browser will display a success page. You can close it.

What HISAB stores

The OAuth flow writes a refresh token to ~/.claude/.credentials.json, owned by your Windows user. HISAB never reads this token directly — it asks the Claude Code CLI, which handles refresh automatically.

Confirming success

Return to the HISAB Settings panel and click Done — Verify sign-in. HISAB checks for the credentials file and reports back. If you see "Signed in successfully" you're done. If not, the most common cause is closing the browser before the OAuth callback finished — run the command again.

Switching accounts

Run claude /logout then claude /login with the other account. HISAB picks up the new identity on its next API call.