[BUG] Claude Code v2.1.92 - OAuth token always expired after login
Resolved 💬 7 comments Opened Apr 6, 2026 by marian149-rgb Closed May 17, 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?
Description:
After successful OAuth login (browser shows "You're all set up for Claude Code"), Claude Code still returns 401 authentication error: "OAuth token has expired."
Steps to reproduce:
Run claude
Run /login → browser opens → login successful
Run /start → still gets 401 OAuth error
Token is not saved to ~/.claude/.credentials.json
macOS, Claude Code v2.1.92, Claude Max subscription.
What Should Happen?
i should be able to log in
Error Messages/Logs
Steps to Reproduce
Run claude
Run /login → browser opens → login successful
Run /start → still gets 401 OAuth error
Token is not saved to ~/.claude/.credentials.json
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.1.92
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗