
About Better Auth
Better Auth is an open source authentication framework for TypeScript apps. It runs inside your own application, so you keep control of the login code and your user data.
What it does
You configure Better Auth in a TypeScript file, turn on the login methods you want, and add plugins for features such as two-factor authentication, passkeys or organizations. Users and sessions are stored in your own database. The framework works with common stacks such as Next.js, Nuxt and SvelteKit.
Key features
- Email and password sign-in with verification and reset
- Social sign-in with Google, GitHub and Apple
- Two-factor, passkeys and magic links through plugins
- Teams, roles and invitations for multi-tenant apps
- Works with Next.js, Nuxt, SvelteKit and more
Who it's for
Developers building SaaS products, dashboards or consumer apps in TypeScript who want auth code they can read and change. Teams that need multi-tenant features, such as organizations and roles, will find those available as plugins.
Pricing and good to know
The project is open source under the MIT license and can be used for free. The site also describes enterprise features such as SSO and SCIM. The site announces that Better Auth is joining Vercel, so check the project pages for the latest details before you start a new build.
Highlights
- Email and password sign-in with verification and reset
- Social sign-in with Google, GitHub and Apple
- Two-factor, passkeys and magic links through plugins
- Teams, roles and invitations for multi-tenant apps
- Works with Next.js, Nuxt, SvelteKit and more












