Better Auth
The most comprehensive authentication framework observed · 2026-10-19
Health v2 · maintenance only
88/100
- Activity 100
- Release rhythm 88
- Longevity 63
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 1.0
- age_days: 884
- days_rel: 2
- days_push: 2
- n_releases_24m: 185
Adoption not part of the score
30360 stars · 2989 forks observed · 2026-10-19
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-05, confidence 0.97
Better Auth is a framework‑agnostic authentication and authorization library for TypeScript. It provides a rich set of built‑in features and a plugin system for extending capabilities such as 2FA, SSO, and payment integration.
Use cases
- Add email/password login with email verification and password reset to a Next.js app
- Integrate social sign‑on (Google, GitHub, Apple) into a SvelteKit project
- Implement multi‑tenant user and role management for a SaaS platform
- Enable passkey and WebAuthn authentication for a mobile‑first web app
- Add API key and JWT authentication for a serverless backend
- Set up SSO with SAML 2.0 and SCIM for an enterprise dashboard
When to choose
- You need a TypeScript‑first auth solution that works across many frameworks (Next.js, Nuxt, Astro, etc.)
- You want a single library that provides both authentication and authorization out of the box
- You prefer a plugin‑based architecture to add features like 2FA, multi‑session, or payment integration only when needed
- You require built‑in support for databases (SQLite, PostgreSQL, MySQL) and stateless mode
When to avoid
- Your project is not using TypeScript or runs on a language/platform without Node.js support
- You need a lightweight, single‑purpose auth client without the extensive plugin ecosystem
- You prefer a fully managed SaaS authentication service with no self‑hosting responsibilities
Facets
library · maturity active
auth authorization security browser serverless typescript oauth oidc sso multi-tenant plugin-ecosystem 2fa passkey nodejs
7 sources
- readme: https://github.com/better-auth/better-auth · fetched 2026-10-19 · f66803e0697a
- homepage: https://better-auth.com · fetched 2026-09-21 · eb052879dc85
- site_page: https://better-auth.com/docs · fetched 2026-09-21 · f85c0be9127b
- site_page: https://better-auth.com/docs/installation · fetched 2026-09-21 · e0a87aece43c
- site_page: https://better-auth.com/docs/plugins · fetched 2026-09-21 · 236d0667f479
- site_page: https://better-auth.com/changelog · fetched 2026-09-21 · 93ec5453acf6
- site_page: https://better-auth.com/pricing · fetched 2026-09-21 · aa0c3c2f15ef
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| better-auth/better-auth | main | 88 |
| better-auth/awesome | docs | 31 |
For agents
markdown · JSON · MCP: product_card(name="better-auth/better-auth")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem