# Newbie having difficulties with implementing Auth0 on React

**URL:** <https://community.auth0.com/t/newbie-having-difficulties-with-implementing-auth0-on-react/56484>\
**Category:** Get Help\
**Created:** [January 20, 2021, 4:06am UTC](https://community.auth0.com/t/newbie-having-difficulties-with-implementing-auth0-on-react/56484 "2021-01-20T04:06:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![umair.mawani](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/umair.mawani/32/14359_2.png) [@umair.mawani](https://community.auth0.com/u/umair.mawani)\
**Post date:** [January 20, 2021, 4:06am UTC](https://community.auth0.com/t/newbie-having-difficulties-with-implementing-auth0-on-react/56484/1 "2021-01-20T04:06:14Z")

</div>

Hello, firstly I’d like to apologize for the absolute newbie question that I am going to propose. Thing is that I am still young in the coding space and am trying to learn how to use Auth0.

So my question is, how do I change the authentication so that the signup button does not show? I did my research and found this page which tells me exactly which option to configure : [Lock Configuration Options](https://auth0.com/docs/libraries/lock/lock-configuration#allowsignup-boolean-)

However, I have no idea where to change/implement this. Any help would be greatly appreciated.

Thanks in advance! 🙂

---

<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 20, 2021, 1:35pm UTC](https://community.auth0.com/t/newbie-having-difficulties-with-implementing-auth0-on-react/56484/3 "2021-01-20T13:35:34Z")

</div>

Hello @umair.mawani,

Thanks for joining the Community! Not a newbie question at all 🙂

One way to do this would be go to Connections \> Database in your dashboard. Click on " Username-Password-Authentication" and toggle on “Disable Sign Ups”

 ![screenshot-manage.auth0.com-2021.01.20-08_26_51](https://global.discourse-cdn.com/auth0/original/3X/1/f/1f33c4db8e8ce619d380853380c17a7bf436141e.png)"

Another option is to use the `allowSignUp` in the lock configurations. To update the lock configurations, go to Universal Login from your dashboard and click on the Login tab. Toggle on “Customize Login Page”

Around line 39 you should see lock initialized

```auto
    var lock = new Auth0Lock(config.clientID, config.auth0Domain, {
    ...

```

At the bottom of the settings add `allowSignUp: false`

```auto
  ...
      prefill: loginHint ? { email: loginHint, username: loginHint } : null,
      closable: false,
      defaultADUsernameFromEmailPrefix: false,
      allowSignUp: false // <-- Add this line
    });

```

---

<div class="post-metadata">

**Author:** ![umair.mawani](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/umair.mawani/32/14359_2.png) [@umair.mawani](https://community.auth0.com/u/umair.mawani)\
**Post date:** [January 20, 2021, 2:17pm UTC](https://community.auth0.com/t/newbie-having-difficulties-with-implementing-auth0-on-react/56484/4 "2021-01-20T14:17:40Z")

</div>

This is exactly what I was looking for! Thank you so much Stephanie! 🙂

---

<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 20, 2021, 2:18pm UTC](https://community.auth0.com/t/newbie-having-difficulties-with-implementing-auth0-on-react/56484/5 "2021-01-20T14:18:39Z")

</div>

No problem! I’m glad that is what you were looking for.

---

<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 4, 2021, 2:18pm UTC](https://community.auth0.com/t/newbie-having-difficulties-with-implementing-auth0-on-react/56484/6 "2021-02-04T14:18:40Z")

</div>

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