summaryrefslogtreecommitdiff
path: root/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py
diff options
context:
space:
mode:
authorgunnar <gunnar@g10f.de>2015-07-03 17:29:50 +0200
committergunnar <gunnar@g10f.de>2015-07-03 17:29:50 +0200
commit8748c6e0e9a66e5b153dac528b313823c152bd19 (patch)
tree537eff23cedfb0b91ef7d88b97e01ce56ee91aa7 /oauthlib/oauth2/rfc6749/grant_types/authorization_code.py
parentb934ef52c31ec46db38393e632b42578114d6dbf (diff)
downloadoauthlib-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.py2
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)