Skip to content

OAuth refresh token and refresh_expires_at not persisted during token refresh #41

Description

@bwebs

Description

When refreshing access tokens via CurrentAuth.set_token(), the new refresh_token and updated refresh_expires_at were not stored in memory or saved to the SQLite database during the UPDATE auth query.

Expected Behavior

When a new refresh token (and updated expiration) is returned during token refresh, refresh_token and refresh_expires_at should be updated in memory and persisted in the SQLite database.

Actual Behavior

The UPDATE auth SQL query only updated access_token, token_type, and expires_at, causing stale refresh tokens to remain in the database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions