2.4 KiB
Better Auth
The most comprehensive authentication library for TypeScript
Learn more »
Discussions
·
Website
·
Issues
Note: 🚧 This project is currently in beta. Features and APIs may change.
About the Project
Why Better Auth?
Auth feels like a partially solved problem in the ecosystem. Existing open-source libraries often require a lot of additional code for anything beyond a simple login. Third-party services, while convenient, comes with their own set of problems. And obviously, these services aren't free and can get really expensive.
Better auth is born out of these frustrations. It aims to provides a comprehensive authentication library from the core accompanied by a growings plugin ecosystem, that allows you to add many auth related features in short amount of time.
General Goals
- Be Comprehensive: The goal is to save users from reinventing the wheel for anything related auth.
- Prioritize Best Practices: provide best practices rather than overwhelming users with configuration options.
- Framework Agnostic: Support most frameworks.
- Consistency: Provide a consistent and predictable API across all platforms
- Type Safety: Value type-safety and embrace typescript magic when necessary.
Features
- Framework Agnostic
- Email & Password
- Account & Session Management
- Built In Rate Limiter
- Automatic Database Management
- Social Sign-on
- Organization & Access Control
- Two Factor Authentication
- Plugin Ecosystem and more...
Installation
npm i better-auth
