-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Google login with auth code flow #488
Conversation
My fault on that! Sorry and thanks! ❤️ |
Is there an ETA on when this fix is going to be released? |
I'm confused: the commit with the fix is tagged as 5.0.2. I am on 5.0.2, and I still get the issue. Specifically, my versions for dj-rest-auth and django-allauth are:
My traceback is (as far as I can tell) exactly identical to the OP: Expand
|
Upon further investigation, it looks like the commit was first released under 4.0.0, but this doesn't explain why the problem should still occur. Should this be a new issue? |
I'm having the exact same error; seems like it's still not fixed or we're doing something wrong.
Have you fixed this or found a workaround @tadamcz ? |
In #482 a regression was introduced for logging in with Google using the auth-code flow:
For the latest allauth, in the auth-code flow, the
token
variable already holds a dictionary with anid_token
field so it's unnecessary to wrap the response. This pull request fixes the regression.