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 mid-session in Claude Desktop with no recovery path #18444
Bug Report: OAuth token expires mid-session in Claude Desktop
Summary
OAuth token expires during active Claude Code sessions within Claude Desktop, causing API errors with no recovery path.
Environment
Claude Desktop version: 2.0.72
macOS Darwin 24.6.0
Using Claude Code within Claude Desktop (not standalone CLI)
Steps to Reproduce
Start a new Claude Code session in Claude Desktop
Have an active conversation (sending messages, using tools)
Within ~10 minutes of active use, receive OAuth error
Expected Behavior
OAuth token should refresh transparently without interrupting the session.
Actual Behavior
Session fails with:
API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth token has expired. Please obtain a new token or refresh your existing token."},"request_id":"req_011CXA57hmxzRRfj59eBrqDH"} · Please run /login
The error suggests running /login, but this command does not exist in Claude Desktop's Claude Code integration.
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 Jan 16, 2026
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
github-actions commentedon Jan 19, 2026
This issue has been automatically closed as a duplicate of #18442.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
github-actions commentedon Jan 26, 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.