# Check if user already exists on signup

**URL:** <https://community.auth0.com/t/check-if-user-already-exists-on-signup/56632>\
**Category:** Get Help\
**Created:** [January 22, 2021, 1:08am UTC](https://community.auth0.com/t/check-if-user-already-exists-on-signup/56632 "2021-01-22T01:08:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel.berrocal](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/daniel.berrocal/32/20070_2.png) [@daniel.berrocal](https://community.auth0.com/u/daniel.berrocal)\
**Post date:** [January 22, 2021, 1:08am UTC](https://community.auth0.com/t/check-if-user-already-exists-on-signup/56632/1 "2021-01-22T01:08:40Z")

</div>

Hi,

I was reviewing this topic [Prevent user from signing up if email already exists?](https://community.auth0.com/t/prevent-user-from-signing-up-if-email-already-exists/26960) and I want to know if there is another approach for this, right now we need to know if user already exists when they are signing up in Auth0, is there a way to check that in an Auth0 Rule?

If so, please let me know.

Thanks,

Daniel

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [January 22, 2021, 12:55pm UTC](https://community.auth0.com/t/check-if-user-already-exists-on-signup/56632/3 "2021-01-22T12:55:18Z")

</div>

Hi @daniel.berrocal,

You can query the Management API from within a Rule using the `ManagmentClient` [Use the Management API from within Rules](https://auth0.com/docs/rules/use-management-api)

You could use the `getByEmail` method to see if the user already exists.

Would you need to do anything else once you determine if the user already exists such as [linking their account](https://auth0.com/docs/users/user-account-linking)?

---

<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:** [February 6, 2021, 12:55pm UTC](https://community.auth0.com/t/check-if-user-already-exists-on-signup/56632/4 "2021-02-06T12:55:20Z")

</div>

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