[BUG]

Resolved 💬 4 comments Opened Oct 31, 2025 by stephenjohnlimb Closed Oct 31, 2025

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:

https://claude.ai/oauth/authorize?code=true&client_id=9d1c250a-e61b-44d9-88ed-5944d1962f5e&response_type=code&redirect_uri=https%3A%2F%2Fconsole.anthropic.com%2Foauth%2Fcode%2Fcallback&scope=org%3Acreate_api_key+user%3Aprofile+user%3Ainference&code_challenge=N0B_1tVTEJjKCG7ZkQznaMDenWBWtw0VOycudUU6x_M&code_challenge_method=S256&state=41VY0sQ6R9pPaR31Jp_I3cV2X_-sCdbJfP7s0YmtvYc

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).

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗