Custom MFA Flow with Google Authenticator - Avoiding Universal Login Redirect

Hi @sivaram.t

Welcome to the Auth0 Community!

Thank you for posting your question. Due to the Actions expected behaviour, it will always redirect you to the Universal Login if you use the api.multifactor.enable(). I would encourage you to check the recommended Universal Login solution with Universal Login Page Templates Customization → https://auth0.com/docs/customize/login-pages/universal-login/customize-templates or the recently released Advanced Customization for Universal Login, which is in early access currently and can be a subject to the changes → https://auth0.com/docs/customize/login-pages/advanced-customizations

If you want to follow with your custom UI for MFA enrollment, you can check this doc → https://auth0.com/docs/secure/multi-factor-authentication/authenticate-using-ropg-flow-with-mfa and https://auth0.com/docs/secure/multi-factor-authentication/authenticate-using-ropg-flow-with-mfa/enroll-and-challenge-push-authenticators, which explain how to use the MFA from your application with ROPG flow, but you can also use regular /authorize flow by adding an MFA API audience.

Thanks
Dawid