-
-
Notifications
You must be signed in to change notification settings - Fork 381
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
AttributeError: 'NoneType' object has no attribute 'provider' #571
Comments
i-zhivetiev
added a commit
to i-zhivetiev/social-app-django
that referenced
this issue
May 6, 2024
Upgrade social- auth-core, it should be addressed already there |
Thanks, it helps, but version 5.4.1 introduces a breaking change because |
Hi @i-zhivetiev can you prepare a release so all people can benefit of your fix ? Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behaviour
Users with a GitHub account should be able to log in.
Actual behaviour
Users with a GitHub account cannot log in; instead, they receive an error.
What are the steps to reproduce this issue?
Any other comments?
Affected Version: 5.4.1
This happens because we are trying to compare
str
andint
in theAbstractUserSocialAuth.get_social_auth
method.See https://github.com/python-social-auth/social-app-django/blob/master/social_django/models.py#L63
The text was updated successfully, but these errors were encountered: