Skip to main content
Add MFA with TOTP authenticator apps.

Add MFA device

Register a new TOTP authenticator device:
The MfaAddDevice response contains:
  • secret: The TOTP secret to add to an authenticator app
  • Use this secret to generate a QR code for easy scanning

Generate QR code

Create a QR code for easy authenticator app setup:

Verify MFA device

After adding the secret to an authenticator app, verify it with a code:

Get MFA devices

List all registered MFA devices:

Remove MFA device

Delete an MFA device:

Get recovery codes

Retrieve MFA recovery codes:

Complete MFA setup flow

Here’s a complete example of the MFA setup flow:

Supported authenticator apps

The Dynamic SDK works with any TOTP-compatible authenticator app:
  • Google Authenticator
  • Microsoft Authenticator
  • Authy
  • 1Password
  • Bitwarden
  • LastPass Authenticator
Last modified on February 3, 2026