BUG] Claude Code hangs on launch — OAuth authentication page loads indefinitely (Pro subscription, macOS)

Resolved 💬 6 comments Opened Mar 13, 2026 by luddff Closed Apr 12, 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?

What's Wrong?
Claude Code hangs immediately on launch with no output or error message. The CLI just sits there with a blank cursor. Running claude auth login opens the browser OAuth page ("Claude Code would like to connect to your Claude chat account") but the page loads indefinitely and never completes.
claude --help works fine. claude -p "say hello" returns Invalid API key · Fix external API key.

What Should Happen?

-

Error Messages/Logs

Steps to Reproduce

Environment

Platform: macOS
Terminal: macOS Terminal
Claude Code version: 2.1.74 (freshly installed)
Node.js version: v25.3.0
Subscription: Claude Pro (active — currently using claude.ai web without issues)
Network: Tested on both corporate and home WiFi — same result
Shell: zsh with Conda base environment active

Steps to Reproduce

Install Claude Code: curl -fsSL https://claude.ai/install.sh | bash — installs successfully
Run claude in terminal
CLI hangs with no output — cursor sits indefinitely
Running claude auth login opens browser to OAuth page
OAuth page ("Claude Code would like to connect to your Claude chat account") loads forever — never completes authorization

Troubleshooting Already Attempted

Fresh reinstall via native installer (curl -fsSL https://claude.ai/install.sh | bash)
claude auth logout + rm -rf ~/.claude ~/.claude.json + fresh login
security unlock-keychain ~/Library/Keychains/login.keychain-db
conda deactivate before running claude
Tested on home network (not corporate) — same result
Confirmed network connectivity: curl -s https://api.anthropic.com/ succeeds
claude --help works, claude --debug hangs same as claude

Expected Behavior
Claude Code should complete the OAuth flow and launch the interactive session.
Actual Behavior
CLI hangs on launch. OAuth page in browser loads indefinitely. No error message is ever shown in the terminal.
Notes
This appears related to the ongoing OAuth issues reported in #33239 and #33258. The Claude.ai web interface works perfectly with the same Pro account, suggesting the issue is specific to the Claude Code OAuth flow.Share

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

unknown

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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