Migrating SSO users from a legacy system

Hi everyone,

We’re in the final phase of migrating our legacy authentication system to Auth0. Over the past few months, we’ve relied on Auth0’s automatic migration feature to migrate users as they logged in. Now we’d like to migrate all of our remaining users into Auth0

We are trying to work our whats the best way to handle users who authenticated via SSO in our legacy system. We have migrated over the SSO connections into auth0 and now all that remains is migrating the remaining users who used the connection to authenticate.

So far we have tried the Import Users Job and the Create User endpoint, but both of these only work on database connections. What is the best way to migrate these users? Should we migrate them into the database or is their another way to provision SSO users.

Thanks

Hi @ammo,

Migrating users who authenticate via Single Sign-On (SSO) from a legacy system to Auth0 requires a different approach than migrating users from a database. Direct import or creation of users into an SSO connection is not a standard feature in Auth0. Instead, the platform is designed to provision these users “just-in-time” (JIT) when they first log in through the federated identity provider.

The only thing that needs to be addressed is any metadata about the users that needs to be transferred. For that, a custom solution might be required.

If you have any other questions, feel free to reach out.

Have a good one,
Vlad