Stack Gems
Menu
← Catalog

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.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/better-auth.svg)](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>