Files
better-auth/README.md
Bereket Engida 6be1f95a85 chore: readme
2024-09-26 22:00:22 +03:00

1.7 KiB

Better Auth

The most comprehensive, framework-agnostic authentication library for TypeScript

Image

Why Better Auth?

Authentication feels like a partially solved problem, existing open-source libraries often require a lot of additional code for anything beyond a simple login. Third-party services, while convenient, force you to store user data on their servers, which in some ways strips you of ownership and it also comes with its 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 realted auth.
  • Prioritize Best Practices: provide best practices rather than overwhelming users with configuration options.
  • Framework Agnostic: The aim is to be friendly to all frameworks and try to avoid framework-specific solutions and features as much as possible.
  • Consistance: Provide a consistent and predictable API.
  • Embrace Type Safety: Value type-safety. 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

Documentation

https://better-auth.com/docs