diff --git a/dj_rest_auth/registration/serializers.py b/dj_rest_auth/registration/serializers.py index b2a102e..a9c4446 100644 --- a/dj_rest_auth/registration/serializers.py +++ b/dj_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']