Dashboard Setup
MFA enrollment requires users to register a TOTP device or Passkey. Configure it in the dashboard before implementing in your application. See End-User MFA - Enrollment for dashboard setup instructions.Your UI SDK Implementation
- TOTP
- Passkey
- Register device:
registerTotpMfaDevice()returns a QRuriandsecret. - Authenticate:
authenticateTotpMfaDevice({ code })completes the challenge. - Manage devices:
getMfaDevices()lists devices;deleteMfaDevice()deletes. - Recovery codes:
getMfaRecoveryCodes()to display;createNewMfaRecoveryCodes()to rotate;authenticateMfaRecoveryCode({ code })to unblock login.