Skip to content

Commit

Permalink
When refreshing tokens, pass through **kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Lerrahn committed Sep 18, 2015
1 parent 58a115e commit 9188065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requests_oauthlib/oauth2_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def request(self, method, url, data=None, headers=None, **kwargs):
if self.auto_refresh_url:
log.debug('Auto refresh is set, attempting to refresh at %s.',
self.auto_refresh_url)
token = self.refresh_token(self.auto_refresh_url)
token = self.refresh_token(self.auto_refresh_url, **kwargs)
if self.token_updater:
log.debug('Updating token to %s using %s.',
token, self.token_updater)
Expand Down

0 comments on commit 9188065

Please sign in to comment.