Preflight Checklist
What's Wrong?
Claude Code OAuth login fails with "Invalid OAuth request — Missing redirect_uri parameter" after completing the full email verification flow. Max subscription is active and confirmed at claude.ai/settings. Cannot authenticate at all — completely blocked from using Claude Code.
The exact flow:
- Run
claude in terminal
- Press
c to copy the OAuth URL
- Paste URL in Chrome (already logged into claude.ai with active Max subscription)
- Enter email address and click send
- Screen changes to ask for verification code
- Receive email from Anthropic with a link
- Click the link in the same browser — it generates a verification code
- Copy the code, go back to the original tab, paste the code
- Click submit
- ERROR: "Invalid OAuth request — Missing redirect_uri parameter"
Additional errors observed:
- When browser is NOT logged into claude.ai: "You need Claude Max or Pro to connect to Claude Code" — even though Max is active
- Intermittently: "An error occurred while sending your login link"
Previously working fine. Broke after session expired, possibly related to April 7-8 authentication incidents on status.claude.com.
Tested on 2 devices (MacBook Air + Ubuntu 24.04 VPS), 3 browsers + incognito, cleared cache/cookies, deleted ~/.claude and ~/.config/claude-code, reinstalled Claude Code, no ANTHROPIC_API_KEY set. Cannot run /doctor or /bug because they require authentication.
Related issues: #19280, #44252, #44257, #44719, #1484
What Should Happen?
After submitting the correct verification code, Claude Code should complete OAuth authentication and start a session using my Max subscription.
Error Messages/Logs
Error 1: "Solicitação OAuth inválida — Parâmetro redirect_uri ausente" ("Invalid OAuth request — Missing redirect_uri parameter")
Error 2: "É necessário ter Claude Max ou Pro para conectar ao Claude Code" ("You need Claude Max or Pro to connect to Claude Code")
Error 3: "Ocorreu um erro ao enviar seu link de login" ("An error occurred while sending your login link")
Environment:
- Claude Code version: Latest (fresh install April 11, 2026)
- Node.js: v24.14.1
- OS: macOS (MacBook Air) + Ubuntu 24.04 (VPS)
- Account: Claude Max (active)
- Auth method: Email (corporate Microsoft 365 Business)
- ANTHROPIC_API_KEY: not set (confirmed empty)
Steps to Reproduce
- Run
claude in terminal on macOS
- Press
c to copy the OAuth URL
- Open Chrome (already logged into claude.ai with active Max subscription)
- Paste the OAuth URL in the browser
- Enter email address (corporate Microsoft 365 Business) and click send
- Screen changes to ask for a verification code
- Receive email from Anthropic with a verification link
- Click the link in the same browser — it opens and generates a verification code
- Copy the code
- Go back to the original tab and paste the code
- Click submit
- ERROR: "Invalid OAuth request — Missing redirect_uri parameter"
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Unknown — was working before April 7-8, 2026 authentication incidents
Claude Code Version
Latest (fresh install via npm, April 11, 2026)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Preflight Checklist
What's Wrong?
Claude Code OAuth login fails with "Invalid OAuth request — Missing redirect_uri parameter" after completing the full email verification flow. Max subscription is active and confirmed at claude.ai/settings. Cannot authenticate at all — completely blocked from using Claude Code.
The exact flow:
claudein terminalcto copy the OAuth URLAdditional errors observed:
Previously working fine. Broke after session expired, possibly related to April 7-8 authentication incidents on status.claude.com.
Tested on 2 devices (MacBook Air + Ubuntu 24.04 VPS), 3 browsers + incognito, cleared cache/cookies, deleted ~/.claude and ~/.config/claude-code, reinstalled Claude Code, no ANTHROPIC_API_KEY set. Cannot run /doctor or /bug because they require authentication.
Related issues: #19280, #44252, #44257, #44719, #1484
What Should Happen?
After submitting the correct verification code, Claude Code should complete OAuth authentication and start a session using my Max subscription.
Error Messages/Logs
Steps to Reproduce
claudein terminal on macOScto copy the OAuth URLClaude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Unknown — was working before April 7-8, 2026 authentication incidents
Claude Code Version
Latest (fresh install via npm, April 11, 2026)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information