You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OAuth token expires every ~10 minutes (was ~1 week) #37804
OAuth tokens are expiring approximately every 10 minutes, requiring frequent /login in each active session. Previously, tokens persisted for roughly 1 week with no configuration changes on the user's end.
Environment
Claude Code version: 2.1.81
OS: macOS (Darwin 25.3.0, Apple Silicon)
Shell: zsh
Subscription: Claude Max (not API key)
Steps to reproduce
Run /login in a Claude Code session
Wait ~10 minutes (or use multiple concurrent sessions)
Session requires /login again
Expected behavior
OAuth token should persist for a reasonable duration (previously ~1 week) without requiring re-authentication.
Actual behavior
Token expires after ~10 minutes, requiring /login again. This is especially painful with multiple concurrent sessions, as each one must be re-authenticated individually.
Impact
Multi-session workflows (e.g., monitoring + development) are severely disrupted
Users must manually /login in every active session every ~10 minutes
Recurring cron-based prompts become unusable across session boundaries
Additional context
No changes were made to local configuration. The TTL regression appeared recently (noticed around 2026-03-23). There is no mechanism to share a refreshed token across concurrent sessions — a fix for the TTL would also benefit from a shared token store (see related: multi-session auth).
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
github-actions commentedon Mar 23, 2026
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
tungchau commentedon Mar 23, 2026
I have the same problem.
Claude Code version: 2.1.81
macOS - Claude Max
github-actions commentedon Apr 21, 2026
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
github-actions commentedon May 1, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.