Better Auth

by Better Auth

Framework-agnostic authentication library for TypeScript

Visit better-auth.com FreemiumOpen source

Better Auth is an open-source authentication and authorization framework for TypeScript that runs inside your own application and database. Features such as two-factor authentication, organizations, and SSO are added through plugins; an optional paid service adds a dashboard and audit logs. The team took over maintenance of Auth.js (NextAuth.js) in September 2025 and joined Vercel in July 2026.

Key features

  • Email/password and social sign-in
  • Plugin system for 2FA, organizations, and more
  • Works with many TypeScript frameworks
  • Stores data in your own database

Similar tools

  • Clerk

    Hosted authentication and user management with prebuilt UI components

    by ClerkFreemiumWeb, API
  • Keycloak

    Open-source identity and access management with SSO, OAuth 2.0, and OIDC

    FreeOpen sourceSelf-hosted
  • Auth0

    Identity platform for login, SSO, and MFA in customer-facing apps

    by OktaFreemiumWeb, API
  • authentik

    Self-hosted identity provider with SSO, MFA, and an application proxy

    FreemiumOpen sourceSelf-hosted
  • Firebase Authentication

    Drop-in user sign-in for web and mobile apps from Google Firebase

    by GoogleFreemiumWeb, iOS, Android +1
  • WorkOS

    APIs for enterprise SSO, directory sync, and user management

    by WorkOSFreemiumWeb, API

Built a tool like Better Auth? Submit it for review