# Redirect rule during MFA encrollment

**URL:** <https://community.auth0.com/t/redirect-rule-during-mfa-encrollment/59561>\
**Category:** Get Help\
**Tags:** rule, mfa\
**Created:** [March 17, 2021, 1:12am UTC](https://community.auth0.com/t/redirect-rule-during-mfa-encrollment/59561 "2021-03-17T01:12:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gary1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gary1/32/13308_2.png) [@gary1](https://community.auth0.com/u/gary1)\
**Post date:** [March 17, 2021, 1:12am UTC](https://community.auth0.com/t/redirect-rule-during-mfa-encrollment/59561/1 "2021-03-17T01:12:07Z")

</div>

I want to allow a user to enroll themselves with an MFA authenticator and would rather NOT use an email. I have the /api/v2/guardian/enrollments/ticket working correctly and they scan the QR code and proceed. When they have finished I want to return them to my screen and I can’t find a way to redirect. I see an older post [[Success Redirect after User MFA enrollment using ticket](https://community.auth0.com/t/success-redirect-after-user-mfa-enrollment-using-ticket/35237)] about this too but can’t find any changes to support this.

It also looks like there is a way to perform redirect in a rule but I can’t find a way to start this - ideally from the prompt: mfa with Key `enrolledTitle` but I can’t find where this would be in a rule, nor how I would redirect based on different sites for dev / test / prod using the same tenant.

Any assistance would be appreciated

---

<div class="post-metadata">

**Author:** ![npatel](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/npatel/32/15222_2.png) [@npatel](https://community.auth0.com/u/npatel)\
**Post date:** [March 17, 2021, 7:54am UTC](https://community.auth0.com/t/redirect-rule-during-mfa-encrollment/59561/2 "2021-03-17T07:54:49Z")

</div>

Have you tried changing the postActionURL when creating the _new Auth0MFAWidget_ in Branding \> MFA page section?

> postActionURL: “[http://mysite/page1](http://mysite/page1)”,

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 17, 2021, 11:38am UTC](https://community.auth0.com/t/redirect-rule-during-mfa-encrollment/59561/3 "2021-03-17T11:38:23Z")

</div>

Thanks for suggesting that @npatel !

---

<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:** [January 8, 2024, 9:05am UTC](https://community.auth0.com/t/redirect-rule-during-mfa-encrollment/59561/4 "2024-01-08T09:05:48Z")

</div>

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