Hello,
I am trying to setup login functionality via auth0 in our single page application.
We have created a application in the tenant, and an api as audience to communicate with auth0 tenant. We have implemented MFA via actions
exports.onExecutePostLogin = async (event, api) => {
// disable MFA for Microsoft-SSO
if (event.connection.name !== "Microsoft-SSO") {
console.log("MFA triggered for user - " + event.user.email);
api.multifactor.enable("any");
console.log("MFA completed");
};
};
As an user when I try to login I am asked to enter my one time password (mfa code) twice before letting me in the system.
The same configurations are working in our lower environment tenant with just single one time password. We looked into the logs
and It seems like a Guardian - Start second factor authentication which is not configured by us. I am not sure what configuration in our tenant is creating this behavior.