omab / django-social-auth

Django social authentication made simple
https://groups.google.com/group/django-social-auth
BSD 3-Clause "New" or "Revised" License
2.65k stars 756 forks source link

Empty uid in Google OAuth2 #779

Closed fay closed 7 years ago

fay commented 11 years ago

There will be an empty uid "" in UserSocialAuth record when GoogleOAuth2 failed to request user A 's profile. And this will lead into a big problem when another user B login with google account also with a empty uid. The user B will be logged in as user A because uid "" with provider "google-oauth2" is associated with user A. Does anybody encounter this problem?

omab commented 11 years ago

Shouldn't be a problem now that the lib depends on python-social-auth.