Passwordless Authentication
Email OTP and magic link authentication in Account UI
Account UI supports passwordless authentication via email OTP and magic links.
Email OTP
When ENABLE_EMAIL_OTP=true:
- Users enter their email address
- A one-time password is sent via email
- User enters the OTP code to authenticate
Magic Links
When ENABLE_MAGIC_LINK=true:
- Users enter their email address
- A login link is sent via email
- Clicking the link authenticates the user
Combo Auth
When both are enabled, Account UI uses the @kardoe/better-auth-combo-auth plugin to combine them into a single flow — the email contains both a clickable link and a code.
Related
- Auth Plugins — Plugin configuration
- Environment Variables