Required vs Optional
- Required If you make MFA required on onboarding, the user must have completed an MFA challenge on every login after this option is enabled. You, as a developer, will be responsible for checking if the user is missing MFA authentication and prompting them to complete an MFA challenge if required.
- Optional If you don’t have MFA required on onboarding, the user will only be required to complete an MFA challenge on login if they have an MFA method registered. You, as a developer, will be responsible for checking if the user is missing MFA authentication and prompting them to complete an MFA challenge if required.
Checking if a user is missing session-based MFA authentication
Related functions
- isUserMissingMfaAuth - Check if user needs MFA authentication
- isUserOnboardingComplete - Check if user completed all onboarding requirements
- Overview
- Action-Based MFA
- Passkeys
- Authenticator Apps
- Recovery Codes