diff options
author | gunnar <gunnar@g10f.de> | 2015-07-03 17:29:50 +0200 |
---|---|---|
committer | gunnar <gunnar@g10f.de> | 2015-07-03 17:29:50 +0200 |
commit | 8748c6e0e9a66e5b153dac528b313823c152bd19 (patch) | |
tree | 537eff23cedfb0b91ef7d88b97e01ce56ee91aa7 /oauthlib/oauth2/rfc6749/grant_types/authorization_code.py | |
parent | b934ef52c31ec46db38393e632b42578114d6dbf (diff) | |
download | oauthlib-8748c6e0e9a66e5b153dac528b313823c152bd19.tar.gz |
send no state in the access token response
Diffstat (limited to 'oauthlib/oauth2/rfc6749/grant_types/authorization_code.py')
-rw-r--r-- | oauthlib/oauth2/rfc6749/grant_types/authorization_code.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py b/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py index 1d21c56..5986353 100644 --- a/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py +++ b/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py @@ -383,7 +383,7 @@ class AuthorizationCodeGrant(GrantTypeBase): request.client_id, request.client, request.scopes) raise errors.InvalidGrantError(request=request) - for attr in ('user', 'state', 'scopes'): + for attr in ('user', 'scopes'): if getattr(request, attr, None) is None: log.debug('request.%s was not set on code validation.', attr) |