Skip to content
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

"social_auth_usersocialauth.user_id" didn't match "auth_user.id" #1091

Open
wowkin2 opened this issue Feb 28, 2017 · 0 comments
Open

"social_auth_usersocialauth.user_id" didn't match "auth_user.id" #1091

wowkin2 opened this issue Feb 28, 2017 · 0 comments

Comments

@wowkin2
Copy link

wowkin2 commented Feb 28, 2017

In my django application I have 2 tables: auth_user and social_auth_usersocialauth.
And the problem is in that the same user has different ids in these tables (auth_user.id and social_auth_usersocialauth.user_id).
So I got a problem when I wanted to figure out who is 2000th user on my site, each collection has it's own object with id = 2000.

Which of them is more reliable? The only option to register user was social auth backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant