Better Auth
Framework-agnostic authentication library for TypeScript
Better Auth is profiled here as a Backend tool for engineering teams. Read about features, pricing, and how it compares to related options in the tools directory.
Description
Better Auth is an open-source authentication framework for TypeScript, created by Bereket Engida, that gives developers a complete auth layer they own and run inside their own application. It works across frameworks and databases, covering email and password, social login, and session management out of the box, while a plugin system adds two-factor authentication, organizations, and more advanced flows. Because it runs inside the application, teams keep full control of user data in their own database.
Key Capabilities:
Framework-agnostic core that works with Next.js, SvelteKit, and others
Email, password, and social login with session management built in
A plugin system for two-factor auth, organizations, and passkeys
Database adapters for Postgres, MySQL, SQLite, and ORMs
Type-safe APIs that surface auth state across client and server
Self-hosted operation that keeps user data in the team's own database
Alternative tools
- Storj
Distributed S3-compatible storage across a global network
- Wasabi
S3-compatible hot cloud storage without egress fees
- Ory
Open-source identity, authentication, and access control
- Stytch
Authentication API for passwordless and B2B identity
- Marqo
Open-source vector search with built-in embedding inference
- Hasura
Instant GraphQL and REST APIs over your databases
