Back to Lucia

Email and password with 2FA and WebAuthn

pages/examples/email-password-2fa-webauthn.md

latest596 B
Original Source

Email and password with 2FA and WebAuthn

Example project with:

  • Email and password authentication
  • Password checks with HaveIBeenPwned
  • Sign in with passkeys
  • Email verification
  • 2FA with TOTP
  • 2FA recovery codes
  • 2FA with passkeys and security keys
  • Password reset with 2FA
  • Login throttling and rate limiting

GitHub repositories