Link SSO accounts with already exist accounts

Hi Auth0 Community!
I have a question about linking regular accounts with SSO accounts.
For example, I had an auth0 application with a regular database connection and now I want to provide for users SSO.
What is the right way to link old accounts with new ones that will create when users will log in through SSO?
I tried to use auth0-account-link extension but it has the part where the system suggests to user linking accounts. For me, this part is not necessary, I want to link accounts without confirmation.
Here I found that I can use Management API but I do not understand when and how I should do it, because I need that user already is linked at the moment of redirection to my SPA application.

Summary:

  1. What is the right way to link existing accounts with new SSO accounts?
  2. if I can use auth0-account-link extension how to do it without any extra users actions?
  3. If I need to use Management API is there an example of how to do it?

Thanks for your help!

I found that there is a way to link accounts through actions. Will move this way.

1 Like

Perfect! Thanks for sharing with the rest of community!

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