Package Exports
- better-auth
- better-auth/adapters/drizzle
- better-auth/adapters/mongodb
- better-auth/adapters/prisma
- better-auth/api
- better-auth/client
- better-auth/client/plugins
- better-auth/cookies
- better-auth/crypto
- better-auth/db
- better-auth/next-js
- better-auth/node
- better-auth/oauth2
- better-auth/package.json
- better-auth/plugins
- better-auth/react
- better-auth/social-providers
- better-auth/solid
- better-auth/solid-start
- better-auth/svelte
- better-auth/svelte-kit
- better-auth/types
- better-auth/vue
Readme
Better Auth
The most comprehensive authentication library for TypeScript
Learn more »
Discord
·
Website
·
Issues
[!WARNING] *🚧 Note: This project is in beta and not yet recommended for production use. Features and APIs are still evolving and may change frequently. For more details, check out our roadmap to the v1 stable release.
Better Auth is framework-agnostic authentication (and authorization) library for TypeScript. It provides a comprehensive set of features out of the box and includes a plugin ecosystem that simplifies adding advanced functionalities with minimal code in short amount of time. Whether you need 2FA, multi-tenant support, or other complex features. It lets you focus on building your actual application instead of reinventing the wheel.
Getting Started
pnpm install better-auth
Read the Installation Guide to learn more.