social-app-django icon indicating copy to clipboard operation
social-app-django copied to clipboard

'social.pipeline.social_auth.associate_by_email' don't work - still create new user

Open skawikk opened this issue 8 years ago • 4 comments

Hi, First of all: Sorry about my english, it isn't my first language;) i have problem: i have facebook and twitter authentication enabled. Both of them works ok. But both of them create new user account, although 'social.pipeline.social_auth.associate_by_email' is enabled. It is my code:

SOCIAL_AUTH_PIPELINE = ( 'social.pipeline.social_auth.social_details', 'social.pipeline.social_auth.social_uid', 'social.pipeline.social_auth.auth_allowed', 'social.pipeline.social_auth.social_user', 'social.pipeline.user.get_username', 'social.pipeline.social_auth.associate_by_email', 'social.pipeline.user.create_user', 'social.pipeline.social_auth.associate_user', 'social.pipeline.social_auth.load_extra_data', 'social.pipeline.user.user_details', )

skawikk avatar Nov 13 '17 21:11 skawikk

Twitter won't return email by default, are you sure you are getting it?

omab avatar Feb 22 '18 12:02 omab

Hi, Yes, i have e-mail from twitter. I check that. M.

skawikk avatar Feb 23 '18 11:02 skawikk

I have a similar problem. I have Facebook authentication enabled and it is working. However, I don't want to create a new user (in the auth_user table), on calling convert-token. Users sign up with my service by providing an email and password and I am just trying to authenticate the user to Facebook for using Facebook's ads APIs. Is that possible? Can you please point to documentation on how that can be done? Thanks.

vm2908 avatar Mar 14 '18 21:03 vm2908

might be due to missing fields, see: https://stackoverflow.com/questions/37841993/authenticating-with-linkedin-using-python-social-auth

vctrd avatar Nov 13 '18 14:11 vctrd