[BUG] OAuth token expires frequently despite refresh_token presen
Resolved 💬 3 comments Opened Apr 12, 2026 by mrachenko Closed Apr 16, 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?
Authentication drops multiple times per day. ~/.claude/.credentials.json contains a refreshToken but it doesn't auto-refresh. Requires manual /login each time.
What Should Happen?
Token should auto-refresh using the stored refreshToken without requiring manual /login. Sessions should stay
authenticated indefinitely.
Error Messages/Logs
Steps to Reproduce
- /login in one session
- Run Claude Code in multiple tmux sessions
- After some hours all sessions lose auth simultaneously
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.92 (native installer)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗