mising non-required parameters

This commit is contained in:
Slava 2018-04-04 14:38:19 +03:00 committed by GitHub
parent a3057b7aa1
commit 79a45e9132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,10 @@ class SocialLoginSerializer(serializers.Serializer):
adapter.access_token_method, adapter.access_token_method,
adapter.access_token_url, adapter.access_token_url,
self.callback_url, self.callback_url,
scope scope,
scope_delimiter=adapter.scope_delimiter,
headers=adapter.headers,
basic_auth=adapter.basic_auth
) )
token = client.get_access_token(code) token = client.get_access_token(code)
access_token = token['access_token'] access_token = token['access_token']