[BUG] OAuth login flow broken on Windows — blank page, never completes
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
- Open PowerShell in any project directory
- Run
claude - Complete theme selection
- Select "1. Claude account with subscription"
- 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.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗