Claude Code v2.1.79 OAuth Login Broken After Auto-Update: Workaround and Fix

Claude Code v2.1.79 OAuth Login Failure
Claude Code v2.1.79 has a confirmed bug that breaks OAuth login after auto-update via the native installer. When users run /login, the browser opens and shows "You're all set up for Claude Code!" but the CLI never receives the callback, resulting in: OAuth error: timeout of 15000ms exceeded.
Confirmed Issues and Timeline
Multiple GitHub issues confirm the problem: #33238 (auth.anthropic.com DNS resolution fails), #33214 (OAuth timeout even with manual token paste), #33213 (multiple workstations affected), #33217 (infinite OAuth timeout loop), and #33239 (can't authenticate on individual accounts).
Anthropic has confirmed an official outage on status.claude.com: "Elevated errors on Claude.ai. Claude Code login/logout actions are also affected." — March 18 incident.
The Root Cause
The native installer auto-updates to v2.1.79 and takes PATH priority over npm installations. When users try to downgrade with npm install -g @anthropic-ai/[email protected], claude --version still shows 2.1.79 because the native installation is prioritized. Running where.exe claude on Windows reveals two installations: the native one (2.1.79) and the npm one (2.1.75).
Full Fix Instructions
Windows:
where.exe claude
Remove-Item "C:\nvm4w\nodejs\claude" -Force
Remove-Item "C:\nvm4w\nodejs\claude.cmd" -Force
npm install -g @anthropic-ai/[email protected]
claude --version
claude /login
Mac/Linux:
which claude
rm ~/.local/bin/claude
npm install -g @anthropic-ai/[email protected]
claude --version
claude /login
Important Notes
- Don't just run
npm install— the native installer reinstalls itself due to PATH priority - Disable ad blockers before logging in (uBlock, AdBlock capture the OAuth popup)
- Don't use
/resumewith old sessions — you'll enter a loop. Start a fresh session - Prevent future auto-updates:
export CLAUDE_CODE_DISABLE_AUTOUPDATE=1
📖 Read the full source: r/ClaudeAI
👀 See Also

Constraint Decay: Why LLM Agents Fail at Structured Backend Code
New research introduces 'constraint decay': as structural requirements accumulate, LLM agent performance drops drastically — capable agents lose 30 points in assertion pass rates, weaker ones approach zero. Actionable insights for anyone using AI coding agents.
Claude Code v2.1.278 Defaults Auto Mode to Server-Side Classifier
Claude Code v2.1.278 defaults auto mode to the server-side classifier for API, Enterprise, Bedrock, Vertex, Foundry, and gateway users. Classifier overhead is no longer billed, and /status now shows which classifier runs.
Cognitive Surrender: When AI Agents Write Code You Don't Understand
AI coding agents can produce code authors don't understand, leading to unreviewed PRs. The article explores 'cognitive surrender' and how to avoid it in your workflow.

Local LLM Struggles with Unreal Engine Solitaire: Qwen 3.6-27B Burns 687k Tokens on One Card
A developer's attempt to build a Solitaire game in Unreal Engine using Qwen 3.6-27B consumed 687k tokens for a single card, requiring manual intervention for PNG downloads, mesh creation, and heavy prompting.