[BUG] /login workflow stuck in loop on Firefox 151.0.4
Open 💬 0 comments Opened Jul 15, 2026 by emanuele-scarsella
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?
The /login command through option 1 gets stuck in an endless cycle of Authorize -> requires login -> Authorize ... when the link is opened with Firefox (the use of chromium solved it, so we can conclude it is browser-related)
What Should Happen?
The login workflow should work in Firefox the same way it does in Chrome/Chromium
Error Messages/Logs
Steps to Reproduce
- Run
claude - execute
/logincommand - select option 1 with Firefx as your default browser
- Go through the authorization process and watch it loop
Claude Model
_No response_
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.210 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
Possibly related issues with some differences:
- [[BUG] /login loop or Claude Code, cannot fix on my own](https://github.com/anthropics/claude-code/issues/72875): not browser related, browser give error (my case doesn't), use magic-link (no magic-link in my case)
Every other issue has an error and is not browser-specific