social-app-django
social-app-django copied to clipboard
AuthAlreadyAssociated is raised regardless of social_user being disabled and SOCIAL_AUTH_RAISE_EXCEPTIONS set to False
So I have this in my settings.py:
SOCIAL_AUTH_RAISE_EXCEPTIONS = False
SOCIAL_AUTH_PIPELINE = (
'social_core.pipeline.social_auth.social_details',
'social_core.pipeline.social_auth.social_uid',
'social_core.pipeline.social_auth.auth_allowed',
# 'social_core.pipeline.social_auth.social_user',
'social_core.pipeline.user.get_username',
'social_core.pipeline.user.create_user',
'social_core.pipeline.social_auth.associate_user',
'social_core.pipeline.social_auth.load_extra_data',
'social_core.pipeline.user.user_details',
)
And it raises
venv/lib/python3.8/site-packages/social_core/pipeline/social_auth.py in social_user
23. raise AuthAlreadyAssociated(backend, msg)
What is the point of these setting? What am I doing wrong?
Yes, I do want to associate one social account to more than one django account.
social-auth-app-django==4.0.0 social-auth-core==3.3.3