[BUG] OAuth login flow broken on Windows — blank page, never completes

Resolved 💬 3 comments Opened May 27, 2026 by Tef06 Closed Jun 27, 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 launching claude for the first time in a terminal and selecting
"Claude account with subscription", the browser opens the OAuth page at
https://claude.ai/oauth/authorize?... but the page stays completely blank.
The flow never completes and the terminal stays blocked waiting for the callback.

What Should Happen?

The OAuth page should load and display the authorization form.
The user authenticates, approves the permissions, and is redirected
back to the CLI which completes the login automatically.

Error Messages/Logs

None

Steps to Reproduce

  1. Open PowerShell in any project directory
  2. Run claude
  3. Complete theme selection
  4. Select "1. Claude account with subscription"
  5. Browser opens → page is blank → nothing happens

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.149

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Environment

  • OS: Windows 11 Home 10.0.26220
  • Claude Code version: v2.1.149
  • Browser: Edge (default)
  • Shell: PowerShell

Workaround
None found. The only alternative is to use an API key (option 2),
which requires a separate Console account with API billing —
not acceptable for Pro subscription users.

View original on GitHub ↗

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