OAuth login times out after 15 seconds — not enough time for browser-based auth flow
Resolved 💬 3 comments Opened Apr 7, 2026 by Paulplogan Closed Apr 11, 2026
Problem
The claude auth login command times out after 15 seconds if the user doesn't click Authorize in the browser fast enough. The browser page itself takes a few seconds to load, leaving very little time to actually authorize.
Behavior
- Run
claude auth loginin Terminal - Browser opens to claude.ai authorization page
- Page loads (takes 2-4 seconds)
- User clicks Authorize
- CLI returns:
Login failed: Timeout of 15000 milliseconds exceeded
Expected behavior
The 15-second window should start AFTER the page has loaded and the user has had a reasonable opportunity to interact with it — or the timeout should be extended (30-60 seconds minimum).
Impact
Users end up in a frustrating loop where login repeatedly fails with no clear indication that the fix is simply to click faster. The error message does not explain the timeout or suggest retrying quickly.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗