Skip to content

Auto-token refresh for LLM provider sometimes fails #1364

@fabianvf

Description

@fabianvf

Description

The automatic token refresh mechanism for the LLM provider authentication sometimes fails silently. When this happens, the user needs to manually trigger the login flow again to restore LLM functionality.

Status: Needs Verification

Note: This was reported by a user and needs further investigation to determine the exact failure conditions. It was intermittent and the root cause was unclear — could be a timing issue, a token expiry edge case, or a refresh endpoint problem.

Steps to Reproduce (approximate)

  1. Authenticate with the LLM provider
  2. Use the extension normally until the token approaches expiry
  3. Observe that auto-refresh sometimes fails
  4. LLM features stop working until manually re-authenticating

Expected Behavior

Token refresh should happen transparently without requiring manual intervention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingkind/bugCategorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions