Commit 52393629 by Philip Forget

pass oauth_timestamp to oauth_provider

parent 134ffd96
...@@ -281,7 +281,8 @@ class OAuthAuthentication(BaseAuthentication): ...@@ -281,7 +281,8 @@ class OAuthAuthentication(BaseAuthentication):
""" """
Checks nonce of request, and return True if valid. Checks nonce of request, and return True if valid.
""" """
return oauth_provider_store.check_nonce(request, oauth_request, oauth_request['oauth_nonce']) return oauth_provider_store.check_nonce(request, oauth_request,
oauth_request['oauth_nonce'], oauth_request['oauth_timestamp'])
class OAuth2Authentication(BaseAuthentication): class OAuth2Authentication(BaseAuthentication):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment