-
-
Couldn't load subscription status.
- Fork 124
Closed
Description
First of all, thanks for this project!
Currently, the refresh token is used to obtain new access tokens, but the refresh token itself is never updated - which leads to the problem having the initial refresh token not beeing valid anymore, forcing the user to reauthenticate.
so i think simply storing the new refresh token as well when getting the new access token would fix that, so adding the following two lines should do the trick:
refresh_token = response['refresh_token']
config.set(username, 'refresh_token', OAuth2Helper.encrypt(cryptographer, refresh_token))
what do you think?
Metadata
Metadata
Assignees
Labels
No labels