Skip to content

AuthAlreadyAssociated is raised regardless of social_user being disabled and SOCIAL_AUTH_RAISE_EXCEPTIONS set to False #1334

Description

@Goury

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions