storing retreived access_token in current client object

This commit is contained in:
Serghei Mihai 2015-02-10 10:04:36 +01:00
parent be4cb35915
commit dc12665fbb
1 changed files with 1 additions and 1 deletions

View File

@ -675,7 +675,7 @@ class Client(oauth2.Client):
uir["access_token"] = token.access_token
except Exception:
raise
self.access_token = token.access_token
uri = self._endpoint("userinfo_endpoint", **kwargs)
# If access token is a bearer token it might be sent in the
# authorization header