The “Redirect URI is not supported by client” error in Claude Code usually points to a mismatch between what the CLI expects and what the Anthropic authentication server has on record.
On March 19, 2026, this is likely tied to the ongoing server instability or a specific configuration bug in the latest version of the CLI.
Here are the most effective ways to bypass this and get back to coding:
Ways to Fix it
1. The “Manual Auth” Workaround (Most Reliable)
If the browser auto-redirect is failing, you can often trigger a manual flow that doesn’t rely on the local redirect URI.
The Fix: When you run
claude, and it attempts to open the browser, cancel/deny the first link if it hangs.Look for the “Copy Link” option: In many versions of the CLI, if the automatic browser open fails (or you cancel it), it will provide a backup URL in the terminal.
Paste and Copy Code: Paste that URL into your browser, authorize the app, and it should provide a short alphanumeric code. Paste that back into your terminal.
2. Check for URL “Formatting” Errors
Recent bug reports (from early 2026) show that the CLI sometimes generates a redirect URL with a hidden space or an extra character.
The Bug: Check the URL in your browser address bar. Look for
%20or a space betweencallandback(e.g.,.../call%20backinstead of.../callback).The Fix: Manually delete the space or
%20in the address bar and hit Enter. This often completes the handshake.
Also Read : Claude Reached Its Tool-Use Limit for this Turn
3. Change Your Default Browser
There is a known issue where certain privacy-focused browsers (like Brave or Safari) block the “localhost” loopback that Claude Code uses to confirm you’ve logged in.
The Fix: Set your default browser to Google Chrome or Firefox temporarily.
Restart the flow: Run
/logoutin your terminal and thenclaudeagain to trigger a fresh login request.
4. Update the CLI
Anthropic has been pushing “hotfixes” rapidly due to the outages this week. You might be running a version that has a hardcoded, outdated redirect URI.
Command:
npm install -g @anthropic-ai/claude-code@latestWhy: Version v1.0.54 and later specifically addressed several OAuth browser flow bugs.
5. Clear Stale Sessions
If you’ve tried multiple times, your local session tokens might be “dirty.”
Run
claude /logout.Delete the Claude config folder (usually found at
~/.claudeon Mac/Linux or%USERPROFILE%\.claudeon Windows).Try logging in again.
Quick Reference: Common Summary Commands
Goal | Command / Action |
| Review current diff | claude "review my changes"or/review |
| Prepare a PR description | claude "prepare a PR summary checklist" |
| See project instructions | /memory (Opens your CLAUDE.md checklist) |
| Visualize context usage | /context |
| Reset/Clean session | /clear |
1 Trackback / Pingback