Skip to content

MFA Security

DarkAuth TOTP MFA adds a second factor to password authentication for users and admins. It is especially important for admin accounts and organizations with sensitive application data.

OTP secrets are encrypted at rest with KEK-protected storage. Backup codes are stored as one-way hashes, so they cannot be recovered and shown later.

DarkAuth uses rate limits, failure counts, lockout windows, and timestep tracking. Timestep tracking prevents the same TOTP code window from being reused.

Backup codes are recovery credentials. Users should store them somewhere safe and treat them like passwords. Using a backup code consumes it.

Admins can unlock or reset OTP state for users. These actions should be audited and should require write admin access.