Hello everyone, I am facing an issue as below, if you have any idea please help, thanks.
As the image, I enable 3 custom pages (login, reset password, mfa). Custom login page and reset password page are work correctly, but custom mfa is not work, it always show the default mfa page.
I triggered mfa by post login action.
Hi @linh.trann
Welcome back to the Auth0 Community!
The reason you are seeing the default MFA page instead of your custom one is due to how Auth0 routes the MFA flow when triggered by an Action. When you trigger MFA in a Post-Login Action, Auth0 requires you to explicitly toggle “Customize MFA Factors using Actions” in the Dashboard, forcing the flow out of your custom Classic Login HTML and into the standard Universal Login MFA template.
There are currently two options regarding your approach on the matter:
- Customize via Universal Login Branding
→ Turn OFF the “Custom MFA Page” toggle you showed in your screenshot.
→ Go to Dashboard > Branding > Universal Login .
→ Use the Advanced Customizations for Universal Login (ACUL) , the Text Prompt API , or the basic Universal Login theming options (Colors, Logo, Fonts) to style the modern MFA screen.
- **Enforce MFA by selecting ALWAYS or ADAPTIVE in the Dashboard
→ Go to Security → MFA → Require Multi-factor Auth0 → Always/Adaptive
I understand that the second option may not be ideal because it does not allow you full control of the MFA flow as actions. If you wish to have a customized MFA page, I would highly recommend using ACUL.
If you have any other questions, let me know!
Kind Regards,
Nik
Hi @nik.baleca, thanks a lot for your information.