diff --git a/rest_auth/registration/serializers.py b/rest_auth/registration/serializers.py index 4f99c18..6798325 100644 --- a/rest_auth/registration/serializers.py +++ b/rest_auth/registration/serializers.py @@ -106,7 +106,10 @@ class SocialLoginSerializer(serializers.Serializer): adapter.access_token_method, adapter.access_token_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) access_token = token['access_token']