# Prevent Sign Up for an an Email that already exist

**URL:** <https://community.auth0.com/t/prevent-sign-up-for-an-an-email-that-already-exist/103469>\
**Category:** Get Help\
**Tags:** account-linking, user-management\
**Created:** [March 28, 2023, 2:03am UTC](https://community.auth0.com/t/prevent-sign-up-for-an-an-email-that-already-exist/103469 "2023-03-28T02:03:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![novo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/novo/32/45825_2.png) [@novo](https://community.auth0.com/u/novo)\
**Post date:** [March 28, 2023, 2:03am UTC](https://community.auth0.com/t/prevent-sign-up-for-an-an-email-that-already-exist/103469/1 "2023-03-28T02:03:13Z")

</div>

Hello Auth0 Community,

I’m currently facing an issue with users signing up on my application using different methods (such as Google and email/password) and inadvertently creating multiple accounts with the same email address. I would like to prevent this and ensure that only one account is created per email address.

Is there a way to block the signup process when a user tries to sign up with an email that already exists in the system, regardless of the signup method (email/password or social login)? For example, if a user signs up with Google and then later tries to sign up with email/password using the same email address, the signup should be blocked with a message like “The user with this email already exists, try maybe with Google or by mail.”

Otherwise, I’m curious if there is a safe and automated process to link accounts with the same email address without requiring user approval. I understand that manual account linking is possible, but I’m looking for a more automated solution to ensure a seamless user experience.

Any suggestions or best practices for handling this scenario would be greatly appreciated. Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![matt.g](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/matt.g/32/35982_2.png) [@matt.g](https://community.auth0.com/u/matt.g)\
**Post date:** [March 29, 2023, 10:13pm UTC](https://community.auth0.com/t/prevent-sign-up-for-an-an-email-that-already-exist/103469/3 "2023-03-29T22:13:19Z")

</div>

Hi @novo,

Welcome to the Auth0 Community!

I understand that you’re running into a problem where users are creating multiple profiles with the same email address when logging in with multiple identity providers.

It _is_ possible to block the signup process when a user tries to sign up with an email address that’s already associated with a profile in your tenant, but that would not be the solution I’d suggest. One reason is because it would lead to a confusing experience for the user and you wouldn’t be able to provide them with feedback on _why_ they’re not able to sign up without revealing that there’s already a profile with that email address, which is a security concern.

In my opinion account linking is the way to go here, in part because it provides your users the convenience of authenticating via multiple identity providers. I have an account linking rule that meets the qualifications you’re describing and if you send me a DM I’d be happy to reply with the code for that rule.

I hope this helps!

Thanks,  
Matt

---

<div class="post-metadata">

**Author:** ![yoshi1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yoshi1/32/45336_2.png) [@yoshi1](https://community.auth0.com/u/yoshi1)\
**Post date:** [April 19, 2023, 10:35pm UTC](https://community.auth0.com/t/prevent-sign-up-for-an-an-email-that-already-exist/103469/4 "2023-04-19T22:35:51Z")

</div>

Hi Matt,

If you are using account linking, doesn’t this also surface to a user that there’s already a profile with that email address?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 3, 2023, 10:36pm UTC](https://community.auth0.com/t/prevent-sign-up-for-an-an-email-that-already-exist/103469/5 "2023-05-03T22:36:43Z")

</div>

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