[BUG] I end up in an authentication loop
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?
I just bought a Pro subscription and started installing claude code on my work station (Fedora 43)
When I start i claude it opens a web page and asks me for a verification code that should have been displayed on that page, but there was no such code. Instead the web page welcomes me, asks for my name, and invites me to install claude code (where I just came from.) This happens over and over again.
I am using Chrome, but I also tried following the dispayed link and go to firefox. The result was the same.
I had originally installed claude code with the native installer. I tried uninstalling and installing again using npm. Same result.
I am stuck.
I was really hopeful about this product, but now I don't know.
What Should Happen?
I should get the code I am prompted for so I can login.
Error Messages/Logs
OAuth error: Invalid code. Please make sure the full code was copied
Press Enter to retry.
Steps to Reproduce
I just bought a Pro subscription and started installing claude code on my work station (Fedora 43)
When I start i claude it opens a web page and asks me for a verification code that should have been displayed on that page, but there was no such code. Instead the web page welcomes me, asks for my name, and invites me to install claude code (where I just came from.) This happens over and over again.
I am using Chrome, but I also tried following the dispayed link and go to firefox. The result was the same.
I had originally installed claude code with the native installer. I tried uninstalling and installing again using npm. Same result.
I am stuck.
I was really hopeful about this product, but now I don't know.
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
Claude Code v2.0.53
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗