[BUG] Cannot login on Linux dev environment due to callback error (its not producing the code to paste)
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?
Trying to login to claude code on a linux machine that dont have a browser. Normally you copy the URL, open on local machine, verify, copy the code and paste into claude on the linux machine
But this it not working anymore, now it just says
"Authorization failed
Redirect URI https://platform.claude.com/oauth%2 Fcode/callback is not supported by client."
Instead of producing the login code
What Should Happen?
Gimme the code instead of failing
Error Messages/Logs
Steps to Reproduce
Install claude code as normal
Pick "Login to claude account"
Copy URL presented
Put into browser on local machine
Wait for code thats never coming
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.152 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗