How to create & link social accounts with organizations?

nik.baleca
Wed, 21 Jan 2026 18:09:24 +0000

Hi @PatrickHeneise

Welcome back to the Auth0 Community!

From what I understand, it appears that when the user tries to add a social account, their session is being replaced with the social one instead of keeping the initial session and just extracting the profile information in order to initiate the account linking. Your main approach would be to link the account depending on the user validating the credentials and not link them if the emails are matching since some social providers do not require you to have an email attached to the account.

Since the approach that you are talking about appears to be a User Initiated Account Linking, you would need to first have the user authenticate inside the app and then verify the credentials of the account that they wish to link.

I would highly recommend going through our User Account Linking documentation since it should tackle the issue of the email address not matching because this type of account linking can be done regardless of that. If you have any other questions or issues, let me know!

Kind Regards,
Nik