Skip to content

FEAT: Implement proper OAuth2 token refresh flow #635

@andrinoff

Description

@andrinoff

Is your feature request related to a problem? OAuth2 tokens expire but no automatic refresh. Related to #619 but requires full implementation of token refresh, not just validation.

Describe the solution you would like:

  • Detect token expiry before use
  • Automatically refresh using refresh token
  • Save new tokens to config
  • Handle refresh failures gracefully
  • Add retry logic for network issues

Describe alternatives you have considered: Manual re-authentication (current). Auto-refresh provides better UX.

Additional context:

  • File: fetcher/fetcher.go, config/config.go
  • Requires OAuth2 library integration
  • Must handle multiple OAuth2 providers (Google, Microsoft, etc)
  • Need secure refresh token storage
  • Complexity: High - OAuth2 protocol implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions