Backend · Authentication

Better Auth

A TypeScript authentication framework with a plugin-oriented server API.

License
MIT
Cost
Open Source
Self-host
Yes

Overview

Better Auth provides sessions, social sign-in, account flows, and database adapters while keeping authentication logic inside the application boundary.

Why it is interesting

Why pay attention

It gives TypeScript teams a self-hosted alternative to fully managed identity products without starting from primitives.

Editorial status

Recommended for active evaluation.

Best for

  • TypeScript applications that want to own authentication data

Not ideal for

  • Teams that require a fully managed enterprise identity service

Open source & pricing

Open Source

The framework is free and self-hostable; email, database, and OAuth infrastructure may cost money.

GitHub momentum

★ 30,545

Last 7 days
+84
Last 30 days
+388
Evidence
10/3/2026–11/2/2026 · complete window

Included in stacks

See it in context.

Modern TypeScript SaaSAuthenticationOpen-Source SaaSAuthentication

Official links

website ↗documentation ↗repository ↗

Sources checked

Official documentation, repository, license, and product factsmaintainer · Sep 4, 2026