# Control user sign up

**URL:** <https://community.auth0.com/t/control-user-sign-up/93038>\
**Category:** Get Help\
**Created:** [October 25, 2022, 8:46am UTC](https://community.auth0.com/t/control-user-sign-up/93038 "2022-10-25T08:46:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ceres6](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ceres6/32/40796_2.png) [@Ceres6](https://community.auth0.com/u/Ceres6)\
**Post date:** [October 25, 2022, 8:46am UTC](https://community.auth0.com/t/control-user-sign-up/93038/1 "2022-10-25T08:46:38Z")

</div>

Hi! I’m new to Auth0 and I wanted to know if there is any way to control who can sign up in the application (currently in the free plan).

My ideas where with email invitation or just allowing direct creation through the dashboard, but any other idea is also welcomed.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 25, 2022, 3:58pm UTC](https://community.auth0.com/t/control-user-sign-up/93038/3 "2022-10-25T15:58:05Z")

</div>

Hi @Ceres6,

Welcome to the Auth0 Community!

> [@Ceres6](#):
>
> I wanted to know if there is any way to control who can sign up in the application

Yes, this is possible by using a [Pre-User Registration Action](https://auth0.com/docs/customize/actions/flows-and-triggers/pre-user-registration-flow). When using a Pre-User Registration Action, you will have better control over how you prefer to restrict sign-ups to your users.

For instance, take a look at this example on [Denying registration by location](https://auth0.com/docs/customize/actions/flows-and-triggers/pre-user-registration-flow#deny-registration-by-location).

I hope this helps!

Please let me know if you have any further questions or need help with implementation.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![Ceres6](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ceres6/32/40796_2.png) [@Ceres6](https://community.auth0.com/u/Ceres6)\
**Post date:** [October 26, 2022, 10:18am UTC](https://community.auth0.com/t/control-user-sign-up/93038/4 "2022-10-26T10:18:56Z")

</div>

Hi @rueben.tiow,

In first place, thank you for your quick answer, it helped a lot.

I was wondering whether the event parameter in the hook has any property that allows to differentiate sign ups created through the dashboard from the ones done through the sign up page in order to allow only the first case.

Thanks in advance,  
Carlos.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 26, 2022, 5:09pm UTC](https://community.auth0.com/t/control-user-sign-up/93038/5 "2022-10-26T17:09:33Z")

</div>

Hi @Ceres6,

Thank you for your response.

> [@Ceres6](#):
>
> I was wondering whether the event parameter in the hook has any property that allows to differentiate sign ups created through the dashboard from the ones done through the sign up page in order to allow only the first case.

Unfortunately, it’s not possible to differentiate signups from the Dashboard versus the sign up page. However, I would like to offer an idea that may work.

As a workaround, you could use the Auth0 Management API to create a user with a custom `user_metadata` value.

Then in your Pre-User Registration Action script, you could conditionally check if the user satisfies this value, and proceed with your logic accordingly.

This way, you could differentiate sign ups from your sign-up page and create user requests. But note that the Auth0 Dashboard will not have any way to create users with `user_metadata` values.

Thanks,  
Rueben

---

<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:** [November 9, 2022, 5:09pm UTC](https://community.auth0.com/t/control-user-sign-up/93038/6 "2022-11-09T17:09:40Z")

</div>

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