mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-26 02:53:46 +03:00
bugfix
This commit is contained in:
parent
02bf6fbe5b
commit
5a6c8f549b
|
@ -72,14 +72,14 @@ class SocialLoginSerializer(serializers.Serializer):
|
|||
|
||||
code = attrs.get('code')
|
||||
|
||||
provider = self.adapter.get_provider()
|
||||
provider = adapter.get_provider()
|
||||
scope = provider.get_scope(request)
|
||||
client = self.client_class(
|
||||
request,
|
||||
app.client_id,
|
||||
app.secret,
|
||||
self.adapter.access_token_method,
|
||||
self.adapter.access_token_url,
|
||||
adapter.access_token_method,
|
||||
adapter.access_token_url,
|
||||
self.callback_url,
|
||||
scope
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user