Skip to main content

TOTP setup

Add a TOTP device

Verify TOTP device

After the user enters a code from their authenticator app:

TOTP authentication

Authenticate with a TOTP code:

Recovery codes

Generate recovery codes for account recovery:
Store recovery codes securely. They can be used to recover the account if the user loses access to their TOTP device.

Complete example

Next steps

Last modified on March 6, 2026