2024-09-27 23:54:52 +03:00
2024-09-27 13:36:20 +03:00
2024-09-27 19:10:37 +03:00
2024-09-27 19:10:37 +03:00
2024-09-27 23:54:52 +03:00
2024-09-27 23:54:52 +03:00
2024-09-27 22:07:56 +03:00
2024-09-17 11:48:15 +03:00
2024-08-31 17:13:51 +03:00
2024-09-27 21:35:57 +03:00
2024-09-27 21:35:57 +03:00
2024-09-27 15:55:00 +03:00
2024-09-02 23:59:39 +03:00
2024-09-27 13:24:07 +03:00
2024-09-27 13:25:41 +03:00
2024-09-27 13:24:07 +03:00
2024-09-27 23:54:52 +03:00
2024-09-27 22:07:56 +03:00
2024-09-27 23:54:52 +03:00
2024-08-31 17:13:51 +03:00
2024-09-17 11:48:15 +03:00

Better Auth Logo

Better Auth

The most comprehensive authentication library for TypeScript
Learn more »

Discord · Website · Issues

npm npm version GitHub stars

Important

Note: 🚧 This project is currently in beta. Features and APIs may change.

About the Project

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 and very short amount 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.

Why Better Auth

Currently, the open-source libraries in the ecosystem often require a lot of additional code if you want anything beyond a basic login. Instead of just suggesting 3rd party services when that happens (which can be still be the right choice at times), I think we can do better as a community—hence, Better Auth.

Goals


  • Be Comprehensive: Save users from reinventing the wheel for anything related auth.
  • Prioritize Best Practices: provide best practices rather than overwhelming configuration options.
  • Framework Agnostic: Support most frameworks and avoid framework specific features and solutions if possible.
  • Consistency: Provide a consistent and predictable API across all platforms
  • Type Safety: Value type-safety and embrace typescript magic when necessary.

Non-Goals


  • JWT-Based Authentication: We wont support JWT-based auth unless provided by a third-party plugin.
  • Extensive Customization: Our focus is on giving you opinionated, best-practice defaults, rather than enabling deep customization.
  • Supporting Every Non-Node Runtime: While we aim to support all JavaScript runtimes when possible, we won't sacrifice features and functionality just to accommodate non-Node runtimes.

Contribution

Better Auth is free and open source project licensed under the MIT License. You are free to do whatever you want with it.

You could help continuing its development by:

Security

If you discover a security vulnerability within Better Auth, please send an e-mail to security@better-auth.com.

All reports will be promptly addressed, and you'll be credited accordingly.

Description
No description provided
Readme 285 MiB
Latest
2026-04-16 05:05:30 -05:00
Languages
TypeScript 99.4%
CSS 0.3%
MDX 0.2%