mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2025-04-19 16:22:12 +03:00
parent
441b2e9962
commit
effd621dc1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user