better-auth/better-auth
The most comprehensive authentication framework observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 99
- Release rhythm 87
- Longevity 59
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 836
- days_rel: 7
- days_push: 7
- n_releases_24m: 210
Adoption not part of the score
29706 stars · 2845 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Better Auth is a framework-agnostic authentication and authorization framework for TypeScript that ships with comprehensive features like email/password, social sign-on, 2FA, passkeys, organizations, and enterprise SSO out of the box. It is extended through a plugin ecosystem of 50+ plugins and works with Next.js, Nuxt, SvelteKit, Hono, and many other frameworks.
Use cases
- add email and password authentication to a TypeScript web app
- implement social login with Google, GitHub, or Apple
- set up two-factor authentication and passkeys
- manage organizations, teams, roles, and access control
- add SAML SSO and SCIM directory sync for enterprise customers
- issue API keys and JWTs for service authentication
- authenticate AI agents with MCP and token exchange
- manage Stripe subscriptions alongside user accounts
When to choose
- you want self-hosted auth that lives in your codebase instead of a third-party service
- you need a wide range of auth features (2FA, passkeys, SSO, multi-tenancy) from one library
- your stack is TypeScript and you use a popular framework like Next.js or SvelteKit
- you need OAuth/OIDC provider capabilities or MCP auth for AI agents
When to avoid
- you need a fully managed hosted auth service with zero infrastructure
- your project is not in the TypeScript/JavaScript ecosystem
- you only need a tiny, minimal auth solution and prefer assembling it yourself
Facets
framework · maturity active
auth authorization middleware rate-limiting api-framework web-development backend security developer-tools cross-platform oauth2 oidc sso saml passkeys two-factor-authentication multi-tenancy session-management social-login plugin-ecosystem stripe mcp-auth framework-agnostic nodejs typescript web-server
7 sources
- readme: https://github.com/better-auth/better-auth · fetched 2026-08-28 · f66803e0697a
- homepage: https://better-auth.com · fetched 2026-08-29 · 3a347219ff8a
- site_page: https://better-auth.com/docs · fetched 2026-08-29 · 5c1741a8d780
- site_page: https://better-auth.com/docs/installation · fetched 2026-08-29 · 0bf371604517
- site_page: https://better-auth.com/docs/plugins · fetched 2026-08-29 · 3653da2ebada
- site_page: https://better-auth.com/changelog · fetched 2026-08-29 · 2b147e399b83
- site_page: https://better-auth.com/pricing · fetched 2026-08-29 · aa0c3c2f15ef
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| better-auth/better-auth | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="better-auth/better-auth")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem