You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Linking to a different existing parent user while registering with google account #1091
I've come a strange issue with the social_django app. I've integrated the Google authentication and when a new user registers the system, he/she is being linked to an existing user in the auth_user table.
Here is the social_auth_usersocialauth table that includes the foreign user_id.
Here is the auth_user table which includes the parent user ids:
The migration went successfull and it generated all tables successfully.
The user with the id 11 in the social_auth_usersocialauth table is a different person and should not be linking to the user_id 9! Instead it should first create that user in the auth_user table and then add that user (linking) in the social_auth_usersocialauth table. It mostly works that way but sometimes causing this strange issue; i.e. linking to a different and existing user in the auth_user table. Any ideas what is happening?
Activity