Better Auth
Framework-agnostic authentication library for TypeScript
Better Auth is profiled here as a Authentication 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
- Ory
Open-source identity, authentication, and access control
- Stytch
Authentication API for passwordless and B2B identity
- WorkOS
Enterprise-ready authentication and SSO for SaaS apps
- SuperTokens
Open-source authentication you can self-host and own
- Keycloak
Self-hosted identity and access management server
- Clerk
Drop-in authentication and user management for modern stacks
