Overview
Better Auth is a framework-agnostic authentication and authorization framework for TypeScript, with plugins for 2FA, organizations, multi-tenancy, OAuth/OIDC, and other advanced requirements.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Cover basic and advanced identity requirements on one foundation
Plugins extend the core with two-factor authentication, organizations, multi-tenancy, and OAuth/OIDC integrations.
Use it across TypeScript stacks without tying identity to one web framework
Better Auth is designed as a framework-agnostic TypeScript authentication layer.
For teams that want authentication logic and data under application control
It fits projects that prefer an open-source TypeScript authentication layer over exclusive reliance on a hosted identity SaaS.
Treat configuration and plugins as part of the security boundary
Review cookie/session settings, OAuth/OIDC configuration, and prerequisites of every enabled plugin.
Official sources
- [1]better-auth/better-auth repository(2026-09-20)
- [2]Better Auth README(2026-09-20)
- [3]Better Auth documentation(2026-09-20)
- [4]Better Auth MIT license(2026-09-20)
Supplemental curator note
Better Auth is useful when authentication should remain under application control. Review cookie/session settings and every enabled plugin as part of the security boundary.
Try it in 3 steps
- 1
Get the source
git clone --depth 1 https://github.com/better-auth/better-auth.git - 2
Enter the repository
cd better-auth - 3
Check the official steps
Continue with the commands in the README Installation, Quick Start, or Getting Started section.
find . -maxdepth 1 -iname 'README*' -exec sed -n '1,220p' {} \; -quit
Growth
Growth trends · Last 30 days
30,020 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 139
- Open PRs
- 391
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- authentication
- oauth
- oauth2
- typescript
- iam
- oidc
- sso
- stripe
- Stars
- 30,020
- Forks
- 2,897
- Watchers
- 50
- Open issues
- 334
- Contributors
- 474
- Primary language
- TypeScript
- License
- MIT
- Repository last updated
- Sep 20, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- React250,594 Stars
A JavaScript library for building web and native user interfaces from declarative components.
JavaScript - Visual Studio Code192,699 Stars
The MIT-licensed Code - OSS repository that forms the open foundation of Visual Studio Code.
TypeScript - Flutter179,011 Stars
A BSD-3-Clause cross-platform SDK for building mobile, web, and desktop UIs from a Dart codebase.
Dart - Bootstrap174,857 Stars
A responsive, mobile-first web framework built from CSS and JavaScript grids, utilities, and components.
MDX - LangChain146,686 Stars
A Python framework that connects models, tools, retrieval systems, and other components for LLM applications and agents.
Python
Report incorrect information
Tell us if any listing information is incorrect or outdated.