# Setup Identifier first authentication only on login and not signup

**URL:** <https://community.auth0.com/t/setup-identifier-first-authentication-only-on-login-and-not-signup/122353>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [December 5, 2023, 11:40am UTC](https://community.auth0.com/t/setup-identifier-first-authentication-only-on-login-and-not-signup/122353 "2023-12-05T11:40:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![raja.sk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/raja.sk/32/39479_2.png) [@raja.sk](https://community.auth0.com/u/raja.sk)\
**Post date:** [December 5, 2023, 11:40am UTC](https://community.auth0.com/t/setup-identifier-first-authentication-only-on-login-and-not-signup/122353/1 "2023-12-05T11:40:59Z")

</div>

I’m using auth0 react sdk and I have enabled identifier first authentication on new universal login. I wanted to keep the signup flow in a single step (i.e., email and password on same screen) and only login as 2 steps (i.e., email and password as separate screens). But I’m not able to achieve this. Both Signup and Login appears in 2 steps. Can someone help?

---

<div class="post-metadata">

**Author:** ![pratyush.pandey](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pratyush.pandey/32/53671_2.png) [@pratyush.pandey](https://community.auth0.com/u/pratyush.pandey)\
**Post date:** [January 9, 2024, 5:51pm UTC](https://community.auth0.com/t/setup-identifier-first-authentication-only-on-login-and-not-signup/122353/3 "2024-01-09T17:51:43Z")

</div>

To achieve a single-step signup flow and a two-step login flow using the Auth0 React SDK with identifier-first authentication, you can follow these steps:

1. Configure the Universal Login page: In the Auth0 dashboard, go to the Universal Login settings and choose the New Universal Login Experience. Enable the Identifier-First Authentication option.

2. Customize the login and signup pages: Create separate login and signup pages in your React application. On the signup page, include fields for both email and password. On the login page, include separate fields for email and password.

3. Implement the signup flow: Use the `useAuth0` hook from the Auth0 React SDK to handle the signup flow. When the user submits the signup form, call the `signup` method provided by the `useAuth0` hook, passing the email and password as parameters. This will create a new user in Auth0.

4. Implement the login flow: On the login page, use the `useAuth0` hook to handle the login flow. When the user submits the login form, call the `loginWithPassword` method provided by the `useAuth0` hook, passing the email and password as separate parameters. This will authenticate the user using the provided credentials.

By following these steps, you should be able to achieve a single-step signup flow and a two-step login flow with email and password on separate screens.

---

<div class="post-metadata">

**Author:** ![raja.sk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/raja.sk/32/39479_2.png) [@raja.sk](https://community.auth0.com/u/raja.sk)\
**Post date:** [January 9, 2024, 6:04pm UTC](https://community.auth0.com/t/setup-identifier-first-authentication-only-on-login-and-not-signup/122353/4 "2024-01-09T18:04:15Z")

</div>

Thanks @pratyush.pandey for the reply.

I have one major concern with this solution. I don’t want to build my own login / signup page as I have to handle all the social logins too. Also, I see a contradictory statement. If I’m building my own login page, what is the use of giving identifier-first? how can I check if the email is intended for SSO login on login with password?

---

<div class="post-metadata">

**Author:** ![ryndm](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ryndm/32/59754_2.png) [@ryndm](https://community.auth0.com/u/ryndm)\
**Post date:** [February 4, 2025, 11:34am UTC](https://community.auth0.com/t/setup-identifier-first-authentication-only-on-login-and-not-signup/122353/5 "2025-02-04T11:34:18Z")

</div>

Hi, were you able to solve this? I have the exact same problem. When the user signs up, I want them to enter the email and password on the same page.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [February 5, 2025, 12:06am UTC](https://community.auth0.com/t/setup-identifier-first-authentication-only-on-login-and-not-signup/122353/7 "2025-02-05T00:06:30Z")

</div>

Hi @raja.sk and everyone.

As mentioned by @pratyush.pandey, unless the signup and login page are configured inside your application, you are not able to customize these steps unfortunately.

Auth0 offers the option to customize these pages through the user of [partials](https://auth0.com/docs/customize/login-pages/universal-login/customize-signup-and-login-prompts), however, after adding a password field on the initial screen, they would still be redirected to the embedded password screen on the Identifier First flow.

If you have any other questions feel to leave a reply or post again on the community page!

Kind Regards,  
Nik

---

<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:** [March 4, 2025, 6:49pm UTC](https://community.auth0.com/t/setup-identifier-first-authentication-only-on-login-and-not-signup/122353/8 "2025-03-04T18:49:57Z")

</div>

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