DOCUMENTATION

AUTHENTICATION

Auth.js v5 with 5 login layouts and full security features.

PROVIDERS

  • Email/password with bcrypt
  • Magic link via Resend
  • Google & GitHub OAuth
  • TOTP 2FA with recovery codes
  • Passkeys (WebAuthn)
  • SAML SSO (Enterprise)

LOGIN LAYOUTS

Switch login page design with one config value. All 5 layouts share the same Auth.js logic underneath.

  • centered-card — Logo + form centered
  • split-screen — Form left, hero right
  • illustration — Form + animated SVG
  • minimal — Form only, no chrome
  • fullscreen-image — Glassmorphism card over image