Closed i-zhivetiev closed 1 month ago
Users with a GitHub account should be able to log in.
Users with a GitHub account cannot log in; instead, they receive an error.
Affected Version: 5.4.1
This happens because we are trying to compare str and int in the AbstractUserSocialAuth.get_social_auth method. See https://github.com/python-social-auth/social-app-django/blob/master/social_django/models.py#L63
str
int
AbstractUserSocialAuth.get_social_auth
Upgrade social- auth-core, it should be addressed already there
Thanks, it helps, but version 5.4.1 introduces a breaking change because social-auth-core>=4.4.1 no longer works.
social-auth-core>=4.4.1
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