diff options
author | Nikos Sklikas <nsklikas@admin.grnet.gr> | 2021-03-22 16:39:22 +0200 |
---|---|---|
committer | Nikos Sklikas <nsklikas@admin.grnet.gr> | 2021-06-03 18:00:12 +0300 |
commit | 5a1e7483749229e01442cfb969916a14a2078789 (patch) | |
tree | 68706472b3642c8ced53971c3e15a1b4c62da6ad | |
parent | 4fddf07313aed766b633a6ca400bca67980017ad (diff) | |
download | oauthlib-5a1e7483749229e01442cfb969916a14a2078789.tar.gz |
Fix RefreshTokenGrant modifiers
The RefreshTokenGrant modifiers now take the same arguments as the
AuthorizationCodeGrant modifiers
-rw-r--r-- | oauthlib/oauth2/rfc6749/grant_types/refresh_token.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py b/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py index 8698a3d..f801de4 100644 --- a/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py +++ b/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py @@ -63,7 +63,7 @@ class RefreshTokenGrant(GrantTypeBase): refresh_token=self.issue_new_refresh_tokens) for modifier in self._token_modifiers: - token = modifier(token) + token = modifier(token, token_handler, request) self.request_validator.save_token(token, request) |