OAuth 'Authorize' button does nothing on first login attempt

Resolved 💬 2 comments Opened Apr 1, 2026 by deepakparamashivam Closed May 8, 2026

Description

When logging in to Claude Code for the first time using claude in the terminal and selecting 1. Claude account with subscription, the browser opens the authorization page automatically (if already logged in to claude.ai). Clicking the Authorize button on this page has no effect — the terminal does not proceed and no authentication code is generated.

Steps to reproduce

  1. Run claude in the terminal (v2.1.89, Windows 11)
  2. Select login method 1. Claude account with subscription · Pro, Max, Team, or Enterprise
  3. The browser opens the authorization page automatically
  4. Click Authorize
  5. Nothing happens — the terminal remains waiting

Workaround

  1. Go back to the Claude Code terminal where a URL is displayed
  2. Ctrl+click the URL to reopen the authorization page in the browser
  3. Click Authorize again — this time a one-time authentication code is generated
  4. Copy the code, paste it into the terminal, and press Enter
  5. Login succeeds

Environment

  • Claude Code v2.1.89
  • Windows 11 Enterprise
  • Browser: default system browser

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗