Skip to content

FEAT: Background OAuth token auto-refresh #1571

Description

@andrinoff

Is your feature request related to a problem?

OAuth tokens can expire mid-session, causing fetch/send failures.

Describe the solution you'd like

Refresh OAuth tokens proactively in the background before expiry.

Describe alternatives you've considered

Re-authenticating on failure.

Additional context

See config/oauth.go and fetcher/xoauth2.go; schedule in daemon/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/configConfiguration / settingsarea/daemonDaemon / RPCarea/fetcherIMAP fetch / IDLE / searcharea/oauthOAuth / XOAUTH2 / auth flowsenhancementNew feature or requestneeds-responseWaiting on issue author replyneeds-triageAwaiting maintainer reviewsize/MDiff: 51–200 linesstaleNo activity for extended period

    Type

    No type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions