We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3794a10 commit 9aa2cfeCopy full SHA for 9aa2cfe
mendeley/auth.py
@@ -107,4 +107,4 @@ def refresh(self, session):
107
oauth = OAuth2Session(client=self.client, redirect_uri=self.redirect_uri, scope=['all'])
108
oauth.compliance_hook['access_token_response'] = [handle_text_response]
109
110
- session.token = oauth.refresh_token(self.token_url, auth=self.auth)
+ session.token = oauth.refresh_token(self.token_url, auth=self.auth, refresh_token=session.token.get('refresh_token', None))
0 commit comments