There was a problem with your log in: There is a user with the same email

Hey!

I hope you’re well.

We’re currently using Auth0 on our platform, and we’ve run into an issue where users who initially sign up using one identity provider (e.g., Google) encounter errors when later attempting to log in using another method (e.g., email/password) with the same email address.

The error message received is:

*“There was a problem with your log in: There is a user with the same email.

I understand that Auth0 treats these as separate identities and does not automatically link them by default. However, we would like to streamline the user experience by automatically linking accounts that share the same verified email address.

Specifically, we would appreciate help with the following:

  1. Confirming the safest and recommended approach** to automatically link user accounts across different identity providers (e.g., Google and Auth0 database) when the emails match.
  2. Clarifying any risks or best practices we should consider to avoid accidental or malicious account merging.
  3. Guidance on implementing this solution via Actions or Rules, including how to correctly authenticate the Management API for account linking.
  4. Whether there are any built-in Auth0 configurations or roadmap features that would support this use case more directly in the future.

Our use case is relatively straightforward: we want users to be able to log in with any previously used method without running into duplicate account errors.

Thank you in advance for your guidance and support. Please let us know if you need any additional information about our tenant or setup.

Best regards,

Hi @gavin1,

By default, you should be able to use the same email address in different connections. If you’re using WordPress, your issue might be similar to this post: All of a sudden: "There was a problem with your log in: There is a user with the same email." - #5 by ADeweyan.

For automatically linking accounts, I recommend these docs:

You’ll also find more information about implementation in its subchapters.

If you have any other questions, feel free to reach out.

Have a good one,
Vlad

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