Two-Factor Authentication
Last updated
Was this helpful?
Last updated
Was this helpful?
Two-factor authentication (2FA) using Time-based One-Time Passwords (TOTP) adds an extra layer of security to user authentication.
These codes expire after a short period, making it difficult for attackers to gain unauthorized access even if passwords are compromised.
You can see the implementation below
You will need to set up the mfa
setting to true in config/auth.js
.
You can use /auth/password/mfa
to perform a Magic Link flow.
2024-12-20 - Initial Documentation