OSS Tanbou

Better Auth — an authentication and authorization framework for TypeScript applications

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
30,020
Primary language
TypeScript
License
MIT
Repository last updated
Sep 20, 2026

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.

Sources: [2][3]

Use it across TypeScript stacks without tying identity to one web framework

Better Auth is designed as a framework-agnostic TypeScript authentication layer.

Sources: [2][3]

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.

Sources: [2][3]

Treat configuration and plugins as part of the security boundary

Review cookie/session settings, OAuth/OIDC configuration, and prerequisites of every enabled plugin.

Sources: [2][3]

Official sources

  1. [1]better-auth/better-auth repository(2026-09-20)
  2. [2]Better Auth README(2026-09-20)
  3. [3]Better Auth documentation(2026-09-20)
  4. [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. 1

    Get the source

    git clone --depth 1 https://github.com/better-auth/better-auth.git
  2. 2

    Enter the repository

    cd better-auth
  3. 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
Check the official README

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

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
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.