# Passwordless Authentication

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 `@quickback-dev/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](/stack/auth/plugins) — Plugin configuration
- [Environment Variables](/stack/account-ui/environment-variables)
