supastarter uses [Better Auth](https://www.better-auth.com/) for authentication. It provides a comprehensive set of authentication features out of the box: - Email/password login - Social OAuth (Google, GitHub) - Magic link authentication - Passkey support (WebAuthn) - Two-factor authentication (TOTP) - Organization management with invitations - Admin role and admin UI The authentication configuration is located in `packages/auth/auth.ts` and the feature flags are in `packages/auth/config.ts`.