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

SaaS Starter Kit

Next.js enterprise SaaS application boilerplate

SaaS Starter Kit is a Next.js and React boilerplate with teams, enterprise sign-in, audit logging, webhooks, and payments wiring so builders can focus on product-specific logic.

  • Email, magic link, and OAuth sign-in
  • SAML SSO and directory sync
  • Teams, invites, and roles
TypeScriptDockerDetails →
★ 5k⟳ 6 months agoApache-2.0

RuoYi-Cloud-Plus

Microservices permission and administration backend

Dromara RuoYi-Cloud-Plus is a rewritten microservices admin stack with Nacos, Dubbo, Sa-Token, and MyBatis-Plus. It offers user, role, menu, and org management plus optional workflow, jobs, and observability pieces.

  • Sa-Token permission and roles
  • Nacos registry and configuration
  • Dubbo RPC between services
JavaDockerDetails →
★ 1.3k⟳ 1 month agoMIT

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

  • Single codebase for multiple platforms
  • Dart with native and web compilation
  • Stateful hot reload during development
DartWeb, Linux, macOS, WindowsDetails →
★ 181.6k⟳ todayBSD-3-Clause
Open Source Alternative to:Adobe AIRIonic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

  • Responsive mobile-first CSS layout
  • Prebuilt UI components
  • Sass-based customization
JavaScriptDetails →
★ 175.1k⟳ 3 days agoMIT

Next.js

React framework for full-stack web applications

Next.js lets you build full-stack web apps by extending React and integrating Rust-based JavaScript build tooling.

  • Full-stack web development on React
  • Rust-based JavaScript build tooling
  • Server and static rendering focus
JavaScriptWebDetails →
★ 144k⟳ todayMIT

React Native

Cross-platform native mobile framework using React

React Native lets developers build Android and iOS interfaces with React components rendered through native platform APIs. JavaScript changes can refresh quickly during development.

  • React component model on mobile
  • Native platform UI rendering
  • Android and iOS targets
C++Android, iOSDetails →
★ 127k⟳ todayMIT
Open Source Alternative to:Ionic Enterprise