Closed felipe-jm closed 10 months ago
I updated to dj-rest-auth version 5.0.0
and django-allauth version 0.57.0
and I'm still getting the same error.
It was a misconfiguration in my REST_AUTH settings, I had a REST_USE_JWT and it should be USE_JWT inside de REST_AUTH settings.
Hello! I am using Google OAuth with the GoogleOAuth2Adapter, here's my code:
In
dj-rest-auth version 2.2.8
withdjango-allauth version 0.51.0
I was making a POST request informing the code that googles gives me and it was returned correctly the access_token, refresh_token and user information. But when I updated todj-rest-auth version 4.0.1
withdjango-allauth version 0.54.0
the same endpoint returns the user authtoken key instead of the tokens I need. Is this the intended behavior?dj-rest-auth version 2.2.8
anddjango-allauth version 0.51.0
SocialLoginView with GoogleOAuth2Adapter body:dj-rest-auth version 4.0.1
anddjango-allauth version 0.54.0
SocialLoginView with GoogleOAuth2Adapter body:How should I use the GoogleOAuth2Adapter correctly in the new version? I Followed the documentation available in https://dj-rest-auth.readthedocs.io/en/latest/installation.html?highlight=SocialLoginView#google
Here's my dj-rest-auth and djangorestframework-simplejwt settings: