[BUG]
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When I try to use the /login command from Claude Code, my browser does popup - I can authenticate via Google. But then I receive and OAUTH error.
The Claude Code command line does not receive any code and so I remain not logged in.
If I use the link that Clause Code provides (when the browser pops up) that has the same behaviour. This is irrespective of the Browser (Safari or Chrome). Also I have tried clearing all cached data that has no effect.
I can login on https://claude.ai/settings/account however.
What Should Happen?
I should be able to use the /login command and then select the max plan or the paid plan.
The browser should popup to authenticate me against google and then the Claude Code CLI should receive that token and function.
This has been working well for the last 5 months or so, but today 31st of October it steopped working.
Error Messages/Logs
The browser jsut displayts this message:
OAuth Request Failed
Internal server error
Steps to Reproduce
open a terminal: run claude code - 'claude'
within the claude prompt, type '/login'
Browser pops up, presented with OAUTH message above.
SNIP below:
claude
▗ ▗ ▖ ▖ Claude Code v2.0.30
Sonnet 4.5 · Claude Max
▘▘ ▝▝ /Users/stevelimb/IdeaProjects/ek9fuzzer
/login
Browser didn't open? Use the url below to sign in:
Paste code here if prompted >
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.30 (Claude Code)
Claude Code Version
2.0.30 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
I thnk this must be on the server side (Anthropic to Google). The CLI seems to be following all the same processes as normal. It has not been recently updated and was all working fine yesterday (30th October).
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗