# How to prevent users that doesn't have an previous registered email to connect with social?

**URL:** <https://community.auth0.com/t/how-to-prevent-users-that-doesnt-have-an-previous-registered-email-to-connect-with-social/115542>\
**Category:** Get Help\
**Tags:** account-linking, user-management\
**Created:** [September 6, 2023, 2:45pm UTC](https://community.auth0.com/t/how-to-prevent-users-that-doesnt-have-an-previous-registered-email-to-connect-with-social/115542 "2023-09-06T14:45:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhuan.carvalho](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rhuan.carvalho/32/47500_2.png) [@rhuan.carvalho](https://community.auth0.com/u/rhuan.carvalho)\
**Post date:** [September 6, 2023, 2:45pm UTC](https://community.auth0.com/t/how-to-prevent-users-that-doesnt-have-an-previous-registered-email-to-connect-with-social/115542/1 "2023-09-06T14:45:59Z")

</div>

I want users to login social only if the email already has an account registered and authenticated in auth0.

(I’m already using the accounts link extension)

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 8, 2023, 5:45pm UTC](https://community.auth0.com/t/how-to-prevent-users-that-doesnt-have-an-previous-registered-email-to-connect-with-social/115542/3 "2023-09-08T17:45:04Z")

</div>

Hi @rhuan.carvalho,

See these threads on the subject.

> [@Prevent Sign Up for an an Email that already exist](https://community.auth0.com/t/prevent-sign-up-for-an-an-email-that-already-exist/103469/3):
>
> 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 woul…

> [@Prevent user from signing up if email already exists?](https://community.auth0.com/t/prevent-user-from-signing-up-if-email-already-exists/26960):
>
> Basically I won’t to prevent the user from signing up if the email they are using to signup already exists in the any of the username/password database or any of the social connections. Basically, if that email exists already for any user, then they should be rejected. Trying to figure this out with hooks, but can’t seem to find a way to query existing users across all connections?

> [@Validate and Block Social Login If User Email Address already exists and not verified](https://community.auth0.com/t/validate-and-block-social-login-if-user-email-address-already-exists-and-not-verified/96324):
>
> Users can register and login on our platform directly with email address or via sso login . We need to deny SSO login for a user if the email address already exists and not verified in auth0 (No account linkage) using Actions. I have read through the proposition from [this](https://community.auth0.com/t/validation-before-registration-of-social-account-in-auth0/84729/7) but want to know if there exists a better flow.

---

<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:** [September 22, 2023, 5:45pm UTC](https://community.auth0.com/t/how-to-prevent-users-that-doesnt-have-an-previous-registered-email-to-connect-with-social/115542/4 "2023-09-22T17:45:21Z")

</div>

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