OAuth token expiration is too short for Max subscribers
Resolved 💬 2 comments Opened Apr 10, 2026 by kimseokho1226 Closed May 22, 2026
Problem
The OAuth token for Max subscription users expires too quickly, requiring frequent re-authentication via /login. This interrupts workflow and is frustrating, especially for users who use Claude Code throughout the day.
Current behavior
- Token expires after a short period (feels like every few hours)
- Users must run
/loginrepeatedly to continue using Claude Code - No way to configure token expiration duration
Expected behavior
- Longer token expiration for Max subscribers (e.g., 7 days or 30 days)
- Or a configurable token lifetime setting
- Or a refresh token mechanism that silently renews the session
Environment
- Claude Code CLI
- Max subscription plan
- Running on Linux (Synology NAS)
Thank you for considering this improvement.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗