Secure sign-in with TOTP, OTP, and recovery codes.
authentication security
Configures Better Auth for TOTP, email or SMS OTP, backup codes, trusted devices, and 2FA sign-in flows.
When to use it
Use when users need MFA, multi-factor authentication, authenticator setup, or login security with Better Auth.
Give it a project and an MFA sign-in goal; it returns Better Auth 2FA configuration and implementation guidance in the project.
What you provide
No additional actions listed in the analysis.
The project must use the `better-auth` package and its two-factor plugins.
The package enables rendering a QR code for TOTP setup.