I'm using Python Social Auth (Django) with Google and Facebook and it creates different users with the same email. How do I fix that?
If I log first with Google, logout, and then with Facebook, it must just associate the accounts and not create.
After some code reading I found this in the pipeline:
'social.pipeline.social_auth.associate_by_email',
So, I just added it before
'social.pipeline.user.get_username',
And it worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With