On first login, we want the users to follow custom MFA(through redirection in login action). After that we want to enforce auth0 MFA. So when users login first time, we do not want Auth0
mfa to kick in. We have setup MFA Always
from settings.
Temporary solution: We have set MFA as Never
and on first login we redirect user from action for custom mfa and afterwards we enforce MFA by setting api.multifactor.enable('Any')
.
Is there any solutions like setting mfa to none
first time and next time onwards, it keeps on enforcing because of the Always
setting?