Better Auth

better-auth.com Security Tools AppFreemiumOpen source

Build authentication into applications with Better Auth, an authentication framework.

better-auth.com
Better Auth homepage screenshot

About Better Auth

Better Auth is an authentication framework for TypeScript that you add to your own application. Your auth setup lives in code, and it works with frameworks such as Next.js, Nuxt, SvelteKit, Astro and Hono. It includes login methods, multi-tenancy, enterprise SSO and support for AI agent authentication. Optional managed infrastructure adds a dashboard, audit logs and security detection for a self-hosted setup.

Key features

  • Works with Next.js, Nuxt, SvelteKit, Astro, Hono and 20+ more frameworks.
  • Built-in credential auth with sessions, email verification and password reset.
  • Social sign-on with Google, GitHub, Apple, Discord and other providers.
  • Passkeys, magic links, API keys, JWTs and other authentication methods.
  • Multi-tenancy with teams, roles, invitations and access control.
  • Enterprise options including SSO, SAML 2.0, SCIM and directory sync.
  • MCP auth, token exchange and agent delegation for AI agent workflows.
  • Optional managed infrastructure with a dashboard, audit logs and security detection.
Best for: Developers who want to build authentication into their own TypeScript applications, from small projects to large apps.

Better Auth at a glance

Type
App
Pricing
Freemium
Platforms
Web
Details verified
Oct 22, 2026 · Official source
Open source
Yes
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Better Auth alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Lucia

lucia-auth.com

Lucia was deprecated in March 2025. The website was updated in July 2026 and points to code/auth_session.ts as a single-file replacement for the NPM package and to the Auth Book for auth information.

Popular in Security Tools

Well-known listings from the same topic.

All 202

Better Auth FAQ

Is Better Auth open source?
The framework is free and open source. Managed infrastructure is optional and is priced separately.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing