diff options
author | Kyle <kyle@gumstix.com> | 2013-07-22 13:24:26 -0700 |
---|---|---|
committer | Kyle <kyle@gumstix.com> | 2013-07-22 13:24:26 -0700 |
commit | a5799fd8671e5a1c2922dcc434c886fc370b46c1 (patch) | |
tree | 33d49693cc2d321e2b51d9368be0ee9cacafa344 /oauthlib/oauth1/rfc5849/endpoints/access_token.py | |
parent | b1a902c822c869da8a465e4fe472bd29075fc7a9 (diff) | |
download | oauthlib-a5799fd8671e5a1c2922dcc434c886fc370b46c1.tar.gz |
Changed access_token.py - validate_access_token_request passes the resource owner key as an access token, which doesn't yet exist, instead of a request token
Diffstat (limited to 'oauthlib/oauth1/rfc5849/endpoints/access_token.py')
-rw-r--r-- | oauthlib/oauth1/rfc5849/endpoints/access_token.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/oauth1/rfc5849/endpoints/access_token.py b/oauthlib/oauth1/rfc5849/endpoints/access_token.py index e89aa00..9950d5b 100644 --- a/oauthlib/oauth1/rfc5849/endpoints/access_token.py +++ b/oauthlib/oauth1/rfc5849/endpoints/access_token.py @@ -141,7 +141,7 @@ class AccessTokenEndpoint(BaseEndpoint): if not self.request_validator.validate_timestamp_and_nonce( request.client_key, request.timestamp, request.nonce, request, - access_token=request.resource_owner_key): + request_token=request.resource_owner_key): return False, request # The server SHOULD return a 401 (Unauthorized) status code when |