[BUG] Claude in Chrome: Authorize button click handler empty, oauth_callback.html missing
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?
Claude in Chrome extension's Authorize button does nothing when clicked. The OAuth API call succeeds (returns 200 with valid redirect_uri), but the redirect fails because:
- The button's React onClick handler is minified to an empty function:
function nv(){} - The
oauth_callback.htmlfile is missing from the extension package - accessingchrome-extension://fcoeoabgfenejglbffodgkkbkcdhcgfn/oauth_callback.htmldirectly shows "invalid"
Reinstalling the extension (including full Chrome restart) downloads the same broken build.
What Should Happen?
Clicking Authorize should complete the OAuth flow and redirect to oauth_callback.html, which should store the access token and enable the extension.
Error Messages/Logs
Console errors on auth page:
- CSP violation: "Loading the font 'data:font/truetype...' violates Content Security Policy directive: font-src"
- When manually redirecting to callback: ERR_BLOCKED_BY_CLIENT, page shows "invalid"
React inspection showed:
- getEventListeners(button).click[0].listener.toString() returns 'function nv(){}'
- btn[propsKey].onClick exists but calls empty mutation
Network tab shows:
- POST to /api/oauth/authorize returns 200 with valid response:
{"redirect_uri": "chrome-extension://fcoeoabgfenejglbffodgkkbkcdhcgfn/oauth_callback.html?code=...&state=..."}
Steps to Reproduce
- Install Claude in Chrome extension (ID: fcoeoabgfenejglbffodgkkbkcdhcgfn) from Chrome Web Store
- Click extension icon → Sign in
- On the OAuth authorization page, click "Authorize"
- Observe: Button animates but nothing happens
- Open DevTools → Network tab → Click Authorize again
- Observe: No network request fires from the button click
- In Console, run:
getEventListeners(document.querySelectorAll('button')[0]).click[0].listener.toString() - Observe: Returns
'function nv(){}'(empty handler) - Navigate directly to:
chrome-extension://fcoeoabgfenejglbffodgkkbkcdhcgfn/oauth_callback.html - Observe: Page shows "invalid" - file is missing from extension package
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
Chrome latest extension
Platform
Other
Operating System
Windows
Terminal/Shell
Terminal.app (macOS)
Additional Information
- Chrome version: [check chrome://settings/help and paste]
- Extension version: 1.0.36
- Tested in incognito with all other extensions disabled - same result
- "Decline" button works fine, only "Authorize" is broken
- The OAuth API itself works - manually calling the endpoint returns valid tokens
- This appears to be a broken build deployed to Chrome Web Store
Note: This bug report was compiled with assistance from Claude (Opus 4.5) during a debugging session. The diagnostic steps (inspecting React internals, checking event listeners, testing manual OAuth flow) were performed collaboratively to identify the root cause.
Same issue here, The service worker console logs this error:
Connecting to 'https://platform.claude.com/v1/oauth/token' violates the following Content Security Policy directive: "connect-src 'self' https://api.anthropic.com wss://api.anthropic.com https://claude.ai https://console.anthropic.com https://statsig.com https://*.statsig.com https://api.statsig.com https://featuregates.org https://statsigapi.net https://events.statsigapi.net https://api.statsigcdn.com https://featureassets.org https://assetsconfigcdn.org https://prodregistryv2.org https://cloudflare-dns.com https://beyondwickedmapping.org https://api.segment.io https://*.segment.com https://*.ingest.us.sentry.io https://api.honeycomb.io". The action has been blocked.
Same issue till 2.1.5
Same issue in iTerm2
issue still exists
Same issue here too
I've been experiencing this today... Imagine paying $400 a month and not being able to log in
issue still happing now
same issue here at the moment..
Any updates on this?
any update ?
Any updated? Same issue here.
same issue affecting my team
same issue affecting my team
I saw some auth/permission blocking when I checked chrome console.
My issue was resolved by adding me as admin in the organization + installing Claude in terminal in addition to Claude VSCode Extension.
Same issue, but in Safari
OK, the issue is that URL line Clause code gives you is split by 3 new lines for some reason. I copy-pasted that into text editor, made it 1 line and then URL fully works
Same issue here, none workarounds above seems to work..
Same issue
same here
same issue
same issue