# Sign-up with verification code - new UL

**URL:** <https://community.auth0.com/t/sign-up-with-verification-code-new-ul/70579>\
**Category:** Get Help\
**Tags:** signup, verification-email\
**Created:** [September 30, 2021, 8:40pm UTC](https://community.auth0.com/t/sign-up-with-verification-code-new-ul/70579 "2021-09-30T20:40:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bill.white](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bill.white/32/26557_2.png) [@bill.white](https://community.auth0.com/u/bill.white)\
**Post date:** [September 30, 2021, 8:40pm UTC](https://community.auth0.com/t/sign-up-with-verification-code-new-ul/70579/1 "2021-09-30T20:40:54Z")

</div>

Is it possible to configure Auth0 (Enterprise) to send the “with code” verification email instead of the “with link” email without coding an Action or customizing the universal login?  
For a native app this would improve the “signup” UX.

Thanks,

– Bill

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 30, 2021, 11:13pm UTC](https://community.auth0.com/t/sign-up-with-verification-code-new-ul/70579/3 "2021-09-30T23:13:22Z")

</div>

Hi @bill.white,

Thanks for reaching out to the Auth0 Community!

I understand that you’d like to configure your Passwordless Email authentication to use a code instead of a link.

> [@bill.white](#):
>
> Is it possible to configure Auth0 (Enterprise) to send the “with code” verification email instead of the “with link” email without coding an Action or customizing the universal login?

Unfortunately, you will not be able to avoid customizing the Universal Login Page.

To accomplish this, you can define the `passwordlessMethod` to be `code` in your Universal Login Page. See below for an example:

```auto
var lock = new Auth0LockPasswordless(config.clientID, config.auth0Domain, {
  passwordlessMethod: 'code',
  ...
});

```

After doing so, your app will be using the passwordless code method without implementing any external Actions.

Our documentation here goes into more depth on the Passwordless options: [https://auth0.com/docs/libraries/lock#passwordless-options](https://auth0.com/docs/libraries/lock#passwordless-options)

Since you inquired about specifically not customizing the ULP, could you clarify why that may be required?

If applicable, note that it is possible to render the ULP page conditionally based on the `clientID`. Therefore, you could implement this logic specifically for your Native App.

Looking forward to hearing from you.

Thank you.

---

<div class="post-metadata">

**Author:** ![bill.white](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bill.white/32/26557_2.png) [@bill.white](https://community.auth0.com/u/bill.white)\
**Post date:** [October 1, 2021, 3:01pm UTC](https://community.auth0.com/t/sign-up-with-verification-code-new-ul/70579/4 "2021-10-01T15:01:00Z")

</div>

Thanks @rueben.tiow for this information.

From your response (which I’ll bookmark for later reference) I gather it’s not possible to configure the “verification with code” flow to be used with a “username & password” authentication setup. This would be a better UX for my native app users, because it would keep more of the user’s focus within the app instead of the browser view of the “magic link” destination URL.

Am I correct in this?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 6, 2021, 7:32pm UTC](https://community.auth0.com/t/sign-up-with-verification-code-new-ul/70579/5 "2021-10-06T19:32:31Z")

</div>

Hi @bill.white,

Thank you for your response.

My apologies for misunderstanding your use case. I believe what you are trying to accomplish is to send the **Email Verification (using Code)** after a user has signed up.

Unfortunately, this feature is not available out-of-the-box and is encouraged to use the **Email Verification (using Link)** method for verification.

However, if you decide that you must have email verification with code, then it’s possible to implement a new service to store that code and check if it’s the same code the user entered, and then calling the Management API to validate their email. In essence, this is how the **Email Verification (using Link)** works, and you will have to implement the logic for using code.

Not to mention, you will also need to use a Post-Login Action that invalidates users’ access from logging in until they have verified their email with the code, which is triggered as soon as they try to log in with a non-verified email address.

If you have some time, please take a moment to submit a Product [Feedback](https://auth0.com/feedback) to us. I believe that this is a valuable feature that many would find useful.

Please let me know if you have further questions. I’d be happy to help.

Thank you.

---

<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:** [October 21, 2021, 7:34pm UTC](https://community.auth0.com/t/sign-up-with-verification-code-new-ul/70579/7 "2021-10-21T19:34:08Z")

</div>

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