How can I migrate users from DB to Auth0?

I use Auth0 (with Auth0 database) for project version 2 creation. There is a very important question about user migration from the version 1 database. Is there some way to migrate all users saving existing passwords?

Hi @zhygliy,

Thanks for reaching out to the Auth0 Community!

I understand that you would like to migrate users from one database to another within Auth0.

Unfortunately, exporting users by yourself with the Management API or User Import/Export extension does not include any information on the users’ hashed passwords. This is documented here:

Therefore, I recommend that you create a Support Ticket to request for your users’ hashed passwords to be exported.

After doing so, you can do one of the following to import these users into your Database version 2:

  1. Use Auth0 User Import/Export Extension
    – Import these users into the Database version 2

  2. Use Auth0 Management API /api/v2/jobs/users-imports endpoint
    – Make a POST /api/v2/jobs/users-imports to import your users into the Database version 2

Please let me know you have any questions. I’d be happy to clarify.

Thank you.

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