Preflight Checklist
What's Wrong?
Environment
- Claude Code version: 2.1.79
- Node: v25.6.1
- npm: 11.9.0
- OS: macOS (Mac Mini)
- Auth: Claude Max subscription (anwrks@gmail.com)
What's happening
OAuth login fails every time with "Authorization failed - Redirect URI http:/localhost:/callback is not supported by client."
The port changes each attempt (58582, 58725, 58776) but the error is the same.
Note: The redirect URI in the error shows a single slash (http:/localhost)
instead of double (http://localhost) — not sure if that's just the
error page display or the actual URI being sent.
Steps to reproduce
claude logout
claude
- Select "Claude account with subscription"
- Browser opens, logged in as correct account
- Authorization failed page appears
Attempted fixes
- npm update -g @anthropic-ai/claude-code (updated successfully)
- claude logout + retry (multiple times)
- Different attempts produce different ports, same error
Expected
OAuth flow completes and Claude Code authenticates with Max subscription.
What Should Happen?
it should let me login.
Error Messages/Logs
Steps to Reproduce
Environment
- Claude Code version: 2.1.79
- Node: v25.6.1
- npm: 11.9.0
- OS: macOS (Mac Mini)
- Auth: Claude Max subscription (anwrks@gmail.com)
What's happening
OAuth login fails every time with "Authorization failed - Redirect URI http:/localhost:/callback is not supported by client."
The port changes each attempt (58582, 58725, 58776) but the error is the same.
Note: The redirect URI in the error shows a single slash (http:/localhost)
instead of double (http://localhost) — not sure if that's just the
error page display or the actual URI being sent.
Steps to reproduce
claude logout
claude
- Select "Claude account with subscription"
- Browser opens, logged in as correct account
- Authorization failed page appears
Attempted fixes
- npm update -g @anthropic-ai/claude-code (updated successfully)
- claude logout + retry (multiple times)
- Different attempts produce different ports, same error
Expected
OAuth flow completes and Claude Code authenticates with Max subscription.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
Environment - Claude Code version: 2.1.79 - Node: v25.6.1 - npm: 11.9.0 - OS: macOS (Mac Mini) - Auth: Claude Max subscription (anwrks@gmail.com) ## What's happening OAuth login fails every time with "Authorization failed - Redirect URI http:/localhost:/callback is not supported by client." The port changes each attempt (58582, 58725, 58776) but the error is the same. Note: The redirect URI in the error shows a single slash (http:/localhost) instead of double (http://localhost) — not sure if that's just the error page display or the actual URI being sent. ## Steps to reproduce 1. claude logout 2. claude 3. Select "Claude account with subscription" 4. Browser opens, logged in as correct account 5. Authorization failed page appears ## Attempted fixes - npm update -g @anthropic-ai/claude-code (updated successfully) - claude logout + retry (multiple times) - Different attempts produce different ports, same error ## Expected OAuth flow completes and Claude Code authenticates with Max subscription.
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
No response
Preflight Checklist
What's Wrong?
Environment
What's happening
OAuth login fails every time with "Authorization failed - Redirect URI http:/localhost:/callback is not supported by client."
The port changes each attempt (58582, 58725, 58776) but the error is the same.
Note: The redirect URI in the error shows a single slash (http:/localhost)
instead of double (http://localhost) — not sure if that's just the
error page display or the actual URI being sent.
Steps to reproduce
claude logoutclaudeAttempted fixes
Expected
OAuth flow completes and Claude Code authenticates with Max subscription.
What Should Happen?
it should let me login.
Error Messages/Logs
Steps to Reproduce
Environment
What's happening
OAuth login fails every time with "Authorization failed - Redirect URI http:/localhost:/callback is not supported by client."
The port changes each attempt (58582, 58725, 58776) but the error is the same.
Note: The redirect URI in the error shows a single slash (http:/localhost)
instead of double (http://localhost) — not sure if that's just the
error page display or the actual URI being sent.
Steps to reproduce
claude logoutclaudeAttempted fixes
Expected
OAuth flow completes and Claude Code authenticates with Max subscription.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
Environment - Claude Code version: 2.1.79 - Node: v25.6.1 - npm: 11.9.0 - OS: macOS (Mac Mini) - Auth: Claude Max subscription (anwrks@gmail.com) ## What's happening OAuth login fails every time with "Authorization failed - Redirect URI http:/localhost:/callback is not supported by client." The port changes each attempt (58582, 58725, 58776) but the error is the same. Note: The redirect URI in the error shows a single slash (http:/localhost) instead of double (http://localhost) — not sure if that's just the error page display or the actual URI being sent. ## Steps to reproduce 1.
claude logout2.claude3. Select "Claude account with subscription" 4. Browser opens, logged in as correct account 5. Authorization failed page appears ## Attempted fixes - npm update -g @anthropic-ai/claude-code (updated successfully) - claude logout + retry (multiple times) - Different attempts produce different ports, same error ## Expected OAuth flow completes and Claude Code authenticates with Max subscription.Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
No response