Merge Account Created by SSO Login with Existing Account

I created an SSO Authentication Connection that uses Okta as the Identity provider and Auth0 as the Service provider. I did some more or less by following the guide here:

However, I now see that when a user with a pre-existing account with the same email address logs in from Okta, Auth0 creates a new user account for that user. I don’t want this. I want Auth0 to use the existing account. To achieve this, I assume that the accounts will have to be merged in some manner.

Is there a predefined action to achieve this? If so, in what Trigger should the action be placed? Pre-User Registration seems like the right place, but I’m not sure.

I’d appreciate some guidance on this if someone has solved the same issue.

Hi @barry,

Welcome to the Auth0 Community!

You can leverage Account Linking! Here are some helpful links:

Best,

Mary Beth

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.