diff --git a/dj_rest_auth/registration/serializers.py b/dj_rest_auth/registration/serializers.py index a9c4446..3244966 100644 --- a/dj_rest_auth/registration/serializers.py +++ b/dj_rest_auth/registration/serializers.py @@ -116,7 +116,7 @@ class SocialLoginSerializer(serializers.Serializer): tokens_to_parse = {'access_token': access_token} # If available we add additional data to the dictionary - for key in ["refresh_token", adapter.expires_in_key]: + for key in ["refresh_token", "id_token", adapter.expires_in_key]: if key in token: tokens_to_parse[key] = token[key] else: