Environment
- Platform (select one):
- Claude CLI version: 1.0.69
- Operating System: macOS 15.5 24F74
- Terminal: iTerm2 Build 3.5.14
Bug Description
/login from another machine (copying the URL and pasting the code) appears to work, but the CLI keeps showing the Missing API key · Run /login status message, and when sending messages Invalid API key · Please run /login.
Steps to Reproduce
- Update claude code
- Run
claude
- See status message `Missing API key · Run /login
- Run
/login
- Select
Claude account with subscription
- Copy URL
- Load URL in an authenticated browser
- Click
Authorize
- Copy auth code
- Paste into claude code
- See
Login successful. Press Enter to continue...
- Press Enter
- Return to message box, with status message
Missing API key · Run /login## Expected Behavior
I expect this to work as it has in the past.
Actual Behavior
The logged out state persists despite several attempts.
Logging in via browser (not copy/paste token) works, but I am authenticating claude on a server where I don't want to auth my Google account for logging in to Anthropic.
Environment
Bug Description
/login from another machine (copying the URL and pasting the code) appears to work, but the CLI keeps showing the
Missing API key · Run /loginstatus message, and when sending messagesInvalid API key · Please run /login.Steps to Reproduce
claude/loginClaude account with subscriptionAuthorizeLogin successful. Press Enter to continue...Missing API key · Run /login## Expected BehaviorI expect this to work as it has in the past.
Actual Behavior
The logged out state persists despite several attempts.
Logging in via browser (not copy/paste token) works, but I am authenticating claude on a server where I don't want to auth my Google account for logging in to Anthropic.