Fix Google login with auth code flow#488
Merged
Merged
Conversation
|
My fault on that! Sorry and thanks! ❤️ |
iMerica
approved these changes
Feb 26, 2023
5 tasks
|
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 ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
tokenvariable already holds a dictionary with anid_tokenfield so it's unnecessary to wrap the response. This pull request fixes the regression.