# Dynamically disable signup

**URL:** <https://community.auth0.com/t/dynamically-disable-signup/184889>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [April 2, 2025, 1:46am UTC](https://community.auth0.com/t/dynamically-disable-signup/184889 "2025-04-02T01:46:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmaccou](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mmaccou/32/71933_2.png) [@mmaccou](https://community.auth0.com/u/mmaccou)\
**Post date:** [April 2, 2025, 1:46am UTC](https://community.auth0.com/t/dynamically-disable-signup/184889/1 "2025-04-02T01:46:57Z")

</div>

I have a situation where I want to disable signups when the user enters my app from certain pages. As far as I can tell, disable signup works at the application level. Is there away to bypass that setting in my code so that it’s disabled when authenticating from one page, but enabled on others?

I would be open to making a separate Auth0 application, but not sure how I can swap connections based on what page the user is on. This also feels kind of messy.

Any ideas?

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [April 2, 2025, 12:58pm UTC](https://community.auth0.com/t/dynamically-disable-signup/184889/3 "2025-04-02T12:58:35Z")

</div>

Hi @mmaccou,

You can make two Auth0 applications, and use the `pre-user-registration` trigger to check for the client\_id of the application who initiated the sign up and then deny user creation for whichever application you want.

If you have any other question feel free to reach out.

Have a good one,  
Vlad

---

<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:** [April 16, 2025, 12:58pm UTC](https://community.auth0.com/t/dynamically-disable-signup/184889/4 "2025-04-16T12:58:59Z")

</div>

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