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: https://auth0.com/docs/support/manage-subscriptions/export-data
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:
-
Use Auth0 User Import/Export Extension
– Import these users into the Database version 2 -
Use Auth0 Management API
/api/v2/jobs/users-importsendpoint
– Make a POST/api/v2/jobs/users-importsto import your users into the Database version 2
Please let me know you have any questions. I’d be happy to clarify.
Thank you.