Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(auth): fix incorrect call to get_scope #668

Merged
merged 1 commit into from
Nov 30, 2024

Conversation

tdjholder
Copy link
Contributor

It appears that since this commit in allauth that dj-rest-auth should call get_scope_from_request(request) in the SocialLoginSerializer.

When validating the provided code the current implementation throws this exception:

| TypeError: OAuth2Provider.get_scope() takes 1 positional argument but 2 were given

@iMerica iMerica merged commit 990b2dd into iMerica:master Nov 30, 2024
10 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants