qmetrics.net

Better Auth

Composable TypeScript authentication and authorization framework

Better Auth screenshot

Better Auth is a framework-agnostic authentication and authorization framework for TypeScript. You configure it in code and extend it with plugins for flows like social login, organizations, and enterprise SSO.

Overview

Better Auth is a TypeScript-oriented authentication and authorization framework meant to live inside your application rather than as a separate hosted login product. It is framework-agnostic, with built-in coverage for common flows and a plugin ecosystem for more advanced behavior.

Configuration is declarative in code, with type-safe setup for email and password auth, social providers such as Google and GitHub, and optional plugins for two-factor authentication, passkeys, organizations, and related features. Integrations cover many application frameworks, including Next.js, Nuxt, SvelteKit, Astro, and Hono, among others.

Capabilities span credential sessions, email verification, password reset, multi-tenant teams with roles and invitations, and enterprise-oriented options such as SSO, SAML, and SCIM. Additional plugin areas include API keys, JWT-related tooling, captcha and breach checking helpers, billing integrations, and MCP-oriented authentication for AI agents.

Optional hosted infrastructure at dash.better-auth.com provides dashboard, audit logs, and security features that can accompany a self-hosted deployment. A CLI entry point initializes auth in a project.

Key features

  • TypeScript auth configuration in code
  • Email and password sessions
  • Social OAuth providers
  • Plugin-based feature extensions
  • Organizations, roles, invitations
  • Enterprise SSO and SCIM plugins
  • Optional hosted management infrastructure
  • CLI project initialization

Use cases

  • Adding login to TypeScript web apps
  • Multi-tenant team access control
  • Enterprise SSO in custom products
  • Extending auth via plugins
  • MCP and agent authentication flows

Does the same job as

Better Auth doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare Better Auth

Similar software

Devise

Modular authentication engine for Ruby on Rails

Devise adds sign-in, registration, and related account flows to Rails apps through a Warden-backed engine. Teams enable only the authentication modules they need for each user model.

★ 24.3k⟳ 1 month agoMIT
Frameworks & PlatformsDesktop/CLI app

Laravel Permission

Database-backed roles and permissions for Laravel applications

Laravel Permission stores roles and permissions in the database and wires them to users, guards, and Laravel’s authorization gate.

★ 13k⟳ yesterdayMIT
Frameworks & PlatformsDesktop/CLI app

go-admin

Gin and Vue admin backend scaffold with RBAC

A separated front-end and back-end starter for admin panels built on Gin and Vue. It ships user management, JWT auth, Casbin RBAC, code generation, and optional multi-tenancy.

★ 12.8k⟳ 1 month agoMIT

Nebular

Customizable Angular UI kit on Eva Design System

Nebular is an Angular UI library with themes, components, and optional auth and security modules. It follows Eva Design System specs with runtime theme switching.

★ 8.1k⟳ 10 months agoMIT
Frameworks & PlatformsDesktop/CLI app

RuoYi Vue3

Vue 3 admin frontend for separated permission systems

RuoYi Vue3 is the official front end for the RuoYi line: Vue 3, Vite, Element Plus, and Pinia paired with a Spring Boot permission backend.

★ 6.8k⟳ 3 days agoMIT

Nest Admin

NestJS and Vue RBAC admin starter

Separated admin stack: NestJS REST API with MySQL, TypeORM, Redis, and JWT, plus a Vue 3 Ant Design Vue front end with fine-grained RBAC.

★ 2.3k⟳ 26 days agoMIT