platoseed
The authentication framework for TypeScript
Better Auth is a comprehensive authentication framework for TypeScript that lets you implement everything from simple auth flows to enterprise-grade systems directly on your own database, embedded in your backend. Itβs loved by developers all over the world and endorsed by leading voices in the ecosystem. On top of the framework, Better Auth also provides an infrastructure layer to help you scale with user management and analytics, bot and fraud detection, transactional email and SMS, global session storage and more.
Better Auth positions itself as a comprehensive authentication framework for TypeScript, offering a composable, plugin-based solution that can scale from small projects to large consumer and enterprise apps.
The product runs inside your app and emphasizes declarative configuration, code-life in PRs, and a plugin ecosystem. It supports Next.js, Nuxt, SvelteKit, and other stacks, includes built-in credential management (email verification, password reset), social sign-on, multi-tenancy, enterprise features (SSO, SAML 2.0, SCIM, directory sync), and a wide range of authentication methods (passkeys, magic links, JWTs, API keys, 2FA, etc.). It provides infrastructure options for self-hosting with dashboards, audit logs, security detection, and enterprise capabilities, plus APIs for agent authentication, device auth, and various integrations. The framework emphasizes running auth inside the application code, with type-safe, version-controlled configurations and no dashboard clicks required.
Hiring and active community contributions/backing indicated by a large contributor base and ongoing product features.
Iβve spent the past few years building developer tools and contributing to open source projects, mostly in TypeScript - including libraries like Better Call, Better Fetch, Loglib and Better Auth. Before that, I worked across several products, which is where I first got obsessed with making dev infra more usable. I care a lot about good DX, clean APIs, and building things that actually ship.
The fastest growing Auth framework for TypeScript: 13K stars + 100K weekly downloads!

The open-source Auth0 alternative

Team-based authentication for B2B SaaS