Migrating users, passwordless and password

Hello people,

I’m doing a test about migrating users from 2 different sources to Auth0, and I only have access to emails.

This was my idea:

  • I migrate all the users with the passwordless connection, so that for the first time they login, they are redirected to their email.

  • In their email the users will find a link to add a password. Once they create the password, they can login with the email + password combo.

  • With flows I setup the user correctly with the password connection once they add the password.

  • For the Authentication Profile, I use Identifier first. This way, if the user has the passwordless connection, it will send the email, otherwise if it has the password connection it will ask for the password.

Now, looking at the docs, sadly this does not seem doable.

The authentication profile is fixed on one type of connection and that’s it.
I would like to avoid having the clients sending the ?connection=email parameter, and prefer to have the changes only on the auth0 side.
Tried having a check with linking accounts aswell, but to no avail.

I’m kinda out of ideas on how to proceed:

  • Is it possible to do this with linking accounts (User Account Linking)?
  • Do I have to change the whole flow?

Thanks for your time, and have a good day!