Skip to content

Commit

Permalink
Blank out scopes arg in token endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
ib-lundgren committed Jul 12, 2013
1 parent 809646f commit 6fe7041
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions oauthlib/oauth2/rfc6749/endpoints/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def create_token_response(self, uri, http_method='GET', body=None,
headers=None, credentials=None):
"""Extract grant_type and route to the designated handler."""
request = Request(uri, http_method=http_method, body=body, headers=headers)
request.scopes = None
request.extra_credentials = credentials
grant_type_handler = self.grant_types.get(request.grant_type,
self.default_grant_type_handler)
Expand Down

0 comments on commit 6fe7041

Please sign in to comment.