Commit 5e5534f6 authored by ynerant's avatar ynerant
Browse files

Merge branch 'dev' into 'main'

Rafraîchissement des jetons Note

Closes #1

See merge request !9
parents c4f591be 4c049148
Pipeline #10054 passed with stages
in 1 minute and 54 seconds
......@@ -756,7 +756,8 @@ class AccessToken(models.Model):
oauth_client = oauth.notekfet._get_oauth_client()
# Actually refresh the token
token = oauth_client.refresh_token(oauth.notekfet.access_token_url,
self.access_token = token['access_token']
self.expires_in = token['expires_in']
self.scopes = token['scope']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment