[BUG] Click Authorize pm Claude code would like to connect, doesn't do anything
Resolved 💬 7 comments Opened Feb 22, 2026 by stuaxo Closed Mar 26, 2026
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?
When I start Claude code it goes to claude.ai/oauth/authorize ...
When I click Authorize, nothing happens, the page still has an authorize and decline button.
If I look at the JS console in firefox while the page initially loads there are a bunch of JS errors along the lines of NetworkError while fetching resource, like the following:
What Should Happen?
I click Authorize and can use claude code
Error Messages/Logs
From firefox's JS console:
-Security-Policy: The page’s settings blocked the loading of a resource (connect-src) at https://a-api.anthropic.com/v1/m because it violates the following directive: “connect-src 'self' https://api.segment.io/ https://*.segment.io https://*.segment.com https://a-cdn.anthropic.com/ https://*.google.com https://*.facebook.com https://*.facebook.net https://*.doubleclick.net” [analytics.min.js:1:23763](https://a-cdn.anthropic.com/analytics.js/v1/LKJN8LsLERHEOXkw487o7qCTFOrGPimI/analytics.min.js)
Steps to Reproduce
Open Claude Code in a devcontainer. Click the link to authorise, open it in firefox.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.50
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗