[BUG] Authorization failed: “Internal server error” prevents Claude Code login
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?
Claude Code fails during authorization/login. Instead of completing the auth flow, it shows:
Authorization failed
Internal server error
A Try again button is displayed, but clicking it does not resolve the issue. The result is that Claude Code cannot complete sign-in and is unusable.
What Should Happen?
Claude Code should complete the authorization flow successfully and return to a usable signed-in state, without showing an internal server error.
Error Messages/Logs
Authorization failed
Internal server error
Steps to Reproduce
Open Claude Code.
Start the authorization or sign-in flow.
Complete the browser-based login flow if prompted.
Return to Claude Code.
Observe the error screen showing: “Authorization failed” and “Internal server error.”
Click Try again.
Observe that the same error persists.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Code v2.1.79
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
25 Comments
I have same issue.
I have same issue.
Same issue
Not to mention, I finally get through the whole process after many server errors and retries, and I get a code to paste into CC and I am presented with this
OAuth error: timeout of 15000ms exceeded
<img width="618" height="454" alt="Image" src="https://github.com/user-attachments/assets/1c4d1c96-a86a-42e4-8dcb-543501148894" />
I guess those seconds are expensive, they couldn't afford to give us even a minute to get through the multiple steps of the login flow.
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
I have same issue.
same issue
Same issue
Same issue :)
Same issue
Same issue
same...
same
same..
Same
Same
It appears to have been fixed in the Korean region, so I assume it’s being rolled out region by region.
I have same issue.(Korean region)
Seems to be working now--fingers crossed!
Now working in Korean region too
Workaround: You can avoid this issue by running Claude Code from Claude Desktop.
OS: Windows
Version: Claude Code v2.1.79
/login sends email, link returns invalid token
Reproducible repeatedly, multiple browsers (Chrome, Edge, incognito)
seems fixed now
Incident is resolved: https://status.claude.com/incidents/6wlrxz9pqz8f
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.