Better Auth
TypeScript auth libraryOpen source· verified Sep 2026
Framework-agnostic authentication for TypeScript: email and password, OAuth providers, sessions, and plugins for two-factor, passkeys, and organizations — stored in your own database.
Official siteReach for it when
- Auth you own instead of renting
- Next.js, SvelteKit, and other TypeScript apps
Worth knowing
Since September 2025 the Better Auth team also maintains Auth.js (NextAuth), which is now in security-fix-only mode.