I activated the user import for a database in auth0 connected to a custom database.
I wrote the login and getUser scripts, it works great without import but with the import it does not work.
For example, if I login to my app with the user “John”, he is correctly migrated to Auth0 with correct data.
But if I logout and I login again with the same user I have a problem. The login script is ran again while he does not according to the schema on this page https://auth0.com/docs/connections/database/migrating
And in the logs I have this issue:
The user 99999 is already imported. Verify if the user has changed the email. New email: email@example.com - Old email: firstname.lastname@example.org.