Skip to content

[Bug] CLI session authentication expires prematurely requiring re-authentication #51177

Closed as not planned

Description

@magiusdarrigo

Bug Description
teammates keep having to re auth claude code.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.114
  • Feedback ID: 01eb5d01-688e-47d6-a3db-d33d188b1200

Error

Main claude thread and teammates ask to re-authenticate anthropic subscription multiple times an hour.

Image

Activity

  1. added
    bug
    platform:macos
    on Apr 20, 2026
  2. github-actions commented on Apr 20, 2026

    @github-actions

    Found 3 possible duplicate issues:

    1. Frequent 401 Authentication Errors Requiring Re-login #40830
    2. OAuth token expires every ~10 minutes (was ~1 week) #37804
    3. [BUG] OAuth token expires excessively — multiple times per day #36911

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  3. 0xbrainkid commented on Apr 20, 2026

    @0xbrainkid

    Frequent forced re-auth in the main thread and teammate contexts is not a minor login annoyance, it is an identity continuity failure. If authentication state decays multiple times an hour during active work, users cannot rely on sessions or teammate flows to remain operational long enough to finish tasks.

    The especially important detail is that this appears to affect both the primary Claude thread and the teammate/agent path. That suggests the problem may be in shared credential/session management rather than one isolated UI surface.

    From the operator perspective, repeated auth interruption has two costs:

    • direct interruption and lost flow
    • loss of trust that delegated or parallel work will stay attached to a valid identity

    Authentication has to be boring. Once it becomes a recurring mid-session event, the product starts feeling stateless in the worst possible way.

  4. added
    stale
    on May 13, 2026
  5. github-actions commented on May 27, 2026

    @github-actions

    Closing for now — inactive for too long. Please open a new issue if this is still relevant.

  6. github-actions commented on Jul 24, 2026

    @github-actions

    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.

  7. locked as resolved and limited conversation to collaborators on Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:authbugplatform:macosstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions