Better Auth
TypeScript auth that lives in your app, not a rented IdP
Next.js / Auth · Freemium · 30.4k
Reviewed 2026-09-03 · last push 2026-10-21 · repo checked 2026-10-21
What's Good
Framework is MIT (LICENSE.md). Credentials, social, orgs, passkeys, MCP/agent auth, npx auth init. Hosted dashboard Starter is 0 USD/month (1 seat, 10,000 audit logs/month, 1-day retention). You keep the user table. Works next to Polar. Homepage names OpenAI, Databricks, and Strapi.
The Catch
The library is free; dashboards, audit, and SSO add-ons are the paid wedge. Starter audit retention is 1 day. This is not a hosted IdP — you still own the database and the incident.
Verdict
The MIT auth library to reach for before Clerk. Framework is free; the dashboard is the upsell.
Embed
Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.
Markdown
[](https://stackgems.com/gems/better-auth)
HTML
<a href="https://stackgems.com/gems/better-auth"><img src="https://stackgems.com/badge/better-auth.svg" alt="Better Auth reviewed on Stack Gems" height="20"></a>
Related
Next.js →- Auth.jsAuthentication for the web, framework-agnostic
- LogtoMPL-2.0 identity platform with a 50k-MAU free Cloud
- authentikMIT-core self-hosted IdP; enterprise/ is not MIT
- ZITADELAGPLv3 identity Cloud at US$0/Month — 100 DAU, not Logto 50k MAU
- AutheliaApache-2.0 reverse-proxy SSO, not a full IdP like authentik