Email does not match when exporting to JSON

Hi,

I have export user list to JSON and import to my database. When user login, I will use the email exported to handle login but users faced cannot login issue. I see the issue is that email is incorrect.
So what is email is exported by Auth0 if user changed email many times before?

Thanks for any help!

Hi @carl.huynh,

Welcome to the Auth0 Community!

When a user changes their email address multiple times, Auth0 exports the most recent/current email address associated with the user’s account. The previous email addresses are not retained or exported. When the email is changed, it is updated in the primary connection for that user.

If the user has linked accounts, you may need to update the email for secondary connections separately using the Management API. Email verification is crucial when allowing users to change their email addresses to ensure they have access to the new email.

Also, please check these articles explaining how to get or export users from Auth0 tenants:

Thanks,
Timotei

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