# When a user clicks "Login", Auth0 executes a signup if the user selects an account they never signed up with

**URL:** <https://community.auth0.com/t/when-a-user-clicks-login-auth0-executes-a-signup-if-the-user-selects-an-account-they-never-signed-up-with/105179>\
**Category:** Get Help\
**Tags:** actions-management-api, management-api\
**Created:** [April 20, 2023, 5:54pm UTC](https://community.auth0.com/t/when-a-user-clicks-login-auth0-executes-a-signup-if-the-user-selects-an-account-they-never-signed-up-with/105179 "2023-04-20T17:54:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin16](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kevin16/32/45629_2.png) [@kevin16](https://community.auth0.com/u/kevin16)\
**Post date:** [April 20, 2023, 5:54pm UTC](https://community.auth0.com/t/when-a-user-clicks-login-auth0-executes-a-signup-if-the-user-selects-an-account-they-never-signed-up-with/105179/1 "2023-04-20T17:54:04Z")

</div>

We would like to have a mechanism to determine if a user didn’t signup with the account they selected when clicking “login”. We don’t want users signing up with new accounts every time they select the wrong one, when they really just want to log in.

Is there a way to prevent this, for example using actions?

Thanks in advance.

---

<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:** [April 26, 2023, 5:53pm UTC](https://community.auth0.com/t/when-a-user-clicks-login-auth0-executes-a-signup-if-the-user-selects-an-account-they-never-signed-up-with/105179/3 "2023-04-26T17:53:40Z")

</div>

Hi @kevin16,

I understand you would like to block logins from an existing email, across all connection types (google, facebook, auth0 database, etc.).

We don’t have an existing feature to block logins from the same email in different connections, but you could potentially do it with an action.

See this thread: [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)

---

<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 10, 2023, 5:53pm UTC](https://community.auth0.com/t/when-a-user-clicks-login-auth0-executes-a-signup-if-the-user-selects-an-account-they-never-signed-up-with/105179/4 "2023-05-10T17:53:56Z")

</div>

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