# Login flow email verification template?

**URL:** <https://community.auth0.com/t/login-flow-email-verification-template/56839>\
**Category:** Get Help\
**Created:** [January 26, 2021, 9:32pm UTC](https://community.auth0.com/t/login-flow-email-verification-template/56839 "2021-01-26T21:32:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![brettgoulder](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brettgoulder/32/24804_2.png) [@brettgoulder](https://community.auth0.com/u/brettgoulder)\
**Post date:** [January 26, 2021, 9:32pm UTC](https://community.auth0.com/t/login-flow-email-verification-template/56839/1 "2021-01-26T21:32:28Z")

</div>

I’m very confused, how do I utilize the different prompt screens for the New Universal Login Experience?

I want to create a flow that requires the user to verify their email. How would I force the user to this prompt’s screen if they haven’t verified? [https://auth0.com/docs/universal-login/prompt-login-email-verification](https://auth0.com/docs/universal-login/prompt-login-email-verification)

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 26, 2021, 10:04pm UTC](https://community.auth0.com/t/login-flow-email-verification-template/56839/3 "2021-01-26T22:04:15Z")

</div>

Hi @brettgoulder,

You can force email verification with a rule. The rule will block the user until they verify their email. You could have the rule send a new verification email every time they log in.

> [@How do I set up forced email verification?](https://community.auth0.com/t/how-do-i-set-up-forced-email-verification/26764):
>
> Question: How do I set up forced email verification? Answer: Forced email verification can be accomplished in a Post-Login Action. If you would like to make a new verification email available to your user, it could be done through your application by leveraging the Management API POST api/v2/jobs/verification-email endpoint. The Action would look like the following: exports.onExecutePostLogin = async (event, api) =\> { if (!event.user.email\_verified) { api.access.deny('Please verify yo…

---

<div class="post-metadata">

**Author:** ![brettgoulder](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brettgoulder/32/24804_2.png) [@brettgoulder](https://community.auth0.com/u/brettgoulder)\
**Post date:** [January 26, 2021, 10:13pm UTC](https://community.auth0.com/t/login-flow-email-verification-template/56839/4 "2021-01-26T22:13:13Z")

</div>

Thanks Dan, but specifically, how do I redirect them to that prompt that I linked to?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 27, 2021, 4:26pm UTC](https://community.auth0.com/t/login-flow-email-verification-template/56839/5 "2021-01-27T16:26:05Z")

</div>

You can send them an email with a link with [this endpoint](https://auth0.com/docs/api/management/v2#!/Jobs/post_verification_email), or you can create a link directly with [this endpoint](https://auth0.com/docs/api/management/v2#!/Tickets/post_email_verification).

---

<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 12, 2021, 6:22pm UTC](https://community.auth0.com/t/login-flow-email-verification-template/56839/6 "2021-02-12T18:22:36Z")

</div>

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