# Separate login and register forms (not both), and embedded rather than redirect?

**URL:** <https://community.auth0.com/t/separate-login-and-register-forms-not-both-and-embedded-rather-than-redirect/37575>\
**Category:** Get Help\
**Created:** [February 7, 2020, 2:24am UTC](https://community.auth0.com/t/separate-login-and-register-forms-not-both-and-embedded-rather-than-redirect/37575 "2020-02-07T02:24:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nth-chile](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nth-chile/32/19013_2.png) [@nth-chile](https://community.auth0.com/u/nth-chile)\
**Post date:** [February 7, 2020, 2:24am UTC](https://community.auth0.com/t/separate-login-and-register-forms-not-both-and-embedded-rather-than-redirect/37575/1 "2020-02-07T02:24:58Z")

</div>

This is really two questions.

1. Is there a way (using the widget) to make a form only for login, and another form only for signup? So that one could put a login-only form on a /login page, and a signup-only form on a /signup page?

2. If so, can these forms be embedded in my webpage? So that at [mysite.com/login](http://mysite.com/login), one would see my custom navbar, and whatever content I put on the page, and also the Auth0 form there, embedded in that page, wherever I put it, allowing the user to log in but NOT to sign up?

Thanks!

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [February 7, 2020, 4:25pm UTC](https://community.auth0.com/t/separate-login-and-register-forms-not-both-and-embedded-rather-than-redirect/37575/2 "2020-02-07T16:25:14Z")

</div>

Hey there @nth-chile, welcome to the Auth0 Community!

> [@nth-chile](#):
>
> Is there a way (using the widget) to make a form only for login, and another form only for signup? So that one could put a login-only form on a /login page, and a signup-only form on a /signup page?

Not with the widget or universal login, but you can disable signup leveraging the power of Lock. Can you share more insight on the platform/stack you’re working with? Thanks in advance!

[https://auth0.com/docs/libraries/lock/v11/configuration](https://auth0.com/docs/libraries/lock/v11/configuration)

---

<div class="post-metadata">

**Author:** ![nth-chile](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nth-chile/32/19013_2.png) [@nth-chile](https://community.auth0.com/u/nth-chile)\
**Post date:** [February 10, 2020, 11:14am UTC](https://community.auth0.com/t/separate-login-and-register-forms-not-both-and-embedded-rather-than-redirect/37575/5 "2020-02-10T11:14:03Z")

</div>

Thanks @James.Morrison ! It is a Node/React/NextJS project. I think we would like to avoid building the UI from scratch, but are comfortable with any other way to make this happen!

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [February 10, 2020, 3:05pm UTC](https://community.auth0.com/t/separate-login-and-register-forms-not-both-and-embedded-rather-than-redirect/37575/6 "2020-02-10T15:05:33Z")

</div>

Sadly that’s the only real option we have at this time for swapping the login/sign up orientation. However if you would like to see this added in the future to the Universal Login, please let us know at [Auth0: Secure access for everyone. But not just anyone.](http://Auth0.com/feedback). Thanks!

---

<div class="post-metadata">

**Author:** ![nth-chile](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nth-chile/32/19013_2.png) [@nth-chile](https://community.auth0.com/u/nth-chile)\
**Post date:** [February 10, 2020, 5:05pm UTC](https://community.auth0.com/t/separate-login-and-register-forms-not-both-and-embedded-rather-than-redirect/37575/7 "2020-02-10T17:05:31Z")

</div>

Ok, so `allowSignup` and `allowLogin` options (see below link) will not be an option for the widget?

[https://auth0.com/docs/libraries/lock/v11/configuration#allowsignup-boolean-](https://auth0.com/docs/libraries/lock/v11/configuration#allowsignup-boolean-)

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [February 10, 2020, 6:57pm UTC](https://community.auth0.com/t/separate-login-and-register-forms-not-both-and-embedded-rather-than-redirect/37575/8 "2020-02-10T18:57:48Z")

</div>

That will change the position but also disable the option of your choosing which I thought you wanted to still retain correct?

---

<div class="post-metadata">

**Author:** ![nth-chile](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nth-chile/32/19013_2.png) [@nth-chile](https://community.auth0.com/u/nth-chile)\
**Post date:** [February 11, 2020, 3:35am UTC](https://community.auth0.com/t/separate-login-and-register-forms-not-both-and-embedded-rather-than-redirect/37575/9 "2020-02-11T03:35:52Z")

</div>

Yep, I want to make two separate things:

- 1 signup form to embed on [website.com/signup](http://website.com/signup)
- 1 login form to embed on [website.com/login](http://website.com/login)

And I want to have other content on those pages as well. In other words, I want to EMBED the forms into those pages.

I want to remove the tabs at the top of the form that let you choose between login and signup

`allowLogin` and `allowSignup` both default to true.

So, could I use `allowSignup: false` to create the login form, and `allowLogin: false` to create the signup form? Would doing that remove the tabs from the forms?

Additionally, could I use that very same method to embed the forms, so that I can include other content on the pages?

Thanks!

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [February 25, 2020, 7:35am UTC](https://community.auth0.com/t/separate-login-and-register-forms-not-both-and-embedded-rather-than-redirect/37575/10 "2020-02-25T07:35:54Z")

</div>

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