[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

  1. Run claude
  2. execute /login command
  3. select option 1 with Firefx as your default browser
  4. 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:

Every other issue has an error and is not browser-specific

View original on GitHub ↗