diff options
author | Jonathan Huot <JonathanHuot@users.noreply.github.com> | 2018-12-13 16:32:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-13 16:32:45 +0100 |
commit | e69486499cadcda3f4fdf6dfaf8ec72b04f02128 (patch) | |
tree | fa8743c649fca6a8ff1c3b948307da196b78ca30 /oauthlib/oauth2/rfc6749/grant_types/authorization_code.py | |
parent | 6dcde73a81d6cbc718ca9ca7f9170a28fc1b5e34 (diff) | |
parent | 5d9a9c90ba04f85477c7859a3cc7b13577fc24f9 (diff) | |
download | oauthlib-e69486499cadcda3f4fdf6dfaf8ec72b04f02128.tar.gz |
Merge branch 'master' into 601-pkce-support
Diffstat (limited to 'oauthlib/oauth2/rfc6749/grant_types/authorization_code.py')
-rw-r--r-- | oauthlib/oauth2/rfc6749/grant_types/authorization_code.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py b/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py index 0df7c6c..d56330a 100644 --- a/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py +++ b/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py @@ -307,6 +307,7 @@ class AuthorizationCodeGrant(GrantTypeBase): log.debug('Token request validation ok for %r.', request) except errors.OAuth2Error as e: log.debug('Client error during validation of %r. %r.', request, e) + headers.update(e.headers) return headers, e.json, e.status_code token = token_handler.create_token(request, refresh_token=self.refresh_token, save_token=False) |