# I want to create a wizard style approach during signup not post login ideally with universal

**URL:** <https://community.auth0.com/t/i-want-to-create-a-wizard-style-approach-during-signup-not-post-login-ideally-with-universal/187537>\
**Category:** Dev to Dev Hub\
**Tags:** classic-universal-login-experience, login-experience\
**Created:** [June 3, 2025, 3:44pm UTC](https://community.auth0.com/t/i-want-to-create-a-wizard-style-approach-during-signup-not-post-login-ideally-with-universal/187537 "2025-06-03T15:44:22Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [June 3, 2025, 7:03pm UTC](https://community.auth0.com/t/i-want-to-create-a-wizard-style-approach-during-signup-not-post-login-ideally-with-universal/187537/3 "2025-06-03T19:03:25Z")

</div>

Hi @zebslc

The matter you have presented is quite a complicated one and presents some issues with the implementation.

Firstly, in order to verify an user’s email, phone number and username on signup, you can enable all of these attributes within your Auth0 Database by going to **Authentication → Databases → {{YOUR\_AUTH0\_DATABASE}} → Attributes**. You can configure both the the **phone** and **email** attributes to be required on signup and to verify them on signup. Please take note that for the email attribute you need to verify it using **OTP** otherwise the user will be able to sign up without verifying the email using **Verification Link**. Once you have completed these steps, the users will be asked to verify both elements on signup. In order for you to be able to do this, you will need to set the **Authentication Profile** to **Identifier First**.

Regarding including the **first name** and **last name** of the user while signing up, you should be able to do this using a PostLogin Action via a Form or add the respective partials to the signup prompts. To learn more about partials and how to add those fields, please review our [documentation](https://auth0.com/docs/customize/login-pages/universal-login/customize-signup-and-login-prompts) on the matter.

The main issue that you would experience with such an implementation is when the user is logging in using a social or enterprise connection. For these users, the email will be considered verified on signup and will also bypass the phone verification if the attribute is missing from their profile. In these cases, you would either to implement a custom form which is rendered whenever a user signs up through those specific connections and verify the email and phone number through the forms. It would look something like this:

```auto
if(event.connection.strategy == '{{SOCIAL/ENTERPRISE_CONNECTION_NAME}}{

     api.prompt.render('{{FORM_ID}}');

}

```

Unfortunately, you are unable to check the login count for these users and I would recommend to assign user metadata to these sign ins using a` PostUserRegistration` Action:

```auto
if(event.connection.strategy == '{{SOCIAL/ENTERPRISE_CONNECTION_NAME}}){

        api.user.setUserMetadata("first_login", true);  
 
}

```

Otherwise, if can also verify these elements by enforcing MFA through sms and email otp on signup in the same matter:

```auto
if(event.connection.strategy == '{{SOCIAL/ENTERPRISE_CONNECTION_NAME && user.user_metadata.first_login == true}}){

        api.authentication.challengeWith({ type: 'email/sms' }); 
//update user metadata as seen in the post below to set first_login to false

}

```

[Update user metadata](https://community.auth0.com/t/updating-user-profile-from-actions/85206)

I would recommend reading our documentation regarding [customizing MFA](https://auth0.com/docs/secure/multi-factor-authentication/customize-mfa).  
Unfortunately, you aren’t able to challenge the user with both of these MFA methods and the in the case of the phone number, it will not be assigned to the user profile only under the `guardian_authenticators` value and it will be censored. I would recommend to use the Forms approach regarding this matter.

If you have any other questions, let me know!

Kind Regards,  
Nik

---

_[View the full topic](https://community.auth0.com/t/i-want-to-create-a-wizard-style-approach-during-signup-not-post-login-ideally-with-universal/187537)._
