What problem does it solve?
Better Auth provides a comprehensive, framework-agnostic authentication and authorization solution for TypeScript applications, reducing the complexity of implementing secure user management across stacks.
Core Features & Use Cases
- Built-in email/password authentication with verification flows and password reset.
- Social OAuth support (Google, GitHub, Discord, etc.) with account linking and multi-provider sign-in.
- Advanced security features (2FA totp, passkeys/WebAuthn, magic links) and rate limiting.
- Session management, RBAC, multi-tenant capabilities, and framework-agnostic adapters for major databases.
- Extensible with adapters (SQLite, PostgreSQL, MySQL, MongoDB, Prisma, Drizzle, Kysely) to fit diverse ecosystems.
Quick Start
Install Better Auth in your project, configure a database adapter and environment variables, and mount the API hooks to enable end-to-end authentication flows.