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.
Description
When refreshing access tokens via
CurrentAuth.set_token(), the newrefresh_tokenand updatedrefresh_expires_atwere not stored in memory or saved to the SQLite database during theUPDATE authquery.Expected Behavior
When a new refresh token (and updated expiration) is returned during token refresh,
refresh_tokenandrefresh_expires_atshould be updated in memory and persisted in the SQLite database.Actual Behavior
The
UPDATE authSQL query only updatedaccess_token,token_type, andexpires_at, causing stale refresh tokens to remain in the database.