Better Auth
A TypeScript authentication library for web apps, covering sign-in, sessions, and common auth providers.
Best for
- TypeScript web apps that need an auth library
- adding social or email sign-in in application code
Not ideal for
- a standalone SSO gateway in front of many self-hosted services
Drafted automatically from the repository, not yet confirmed by maintainers · reviewed 2026-11-19
Links
Who's behind it
- @bytaesu
901 commits · 33%
- @gustavovalverde
556 commits · 21%
- @himself65
368 commits · 14%
- @ping-maxwell
257 commits · 9%
- @Bekacru
184 commits · 7%
Of 47 people who committed in the last 52 weeks, 2 made half the commits. Bots and AI coding agents are counted apart (10% of all commits). From GitHub, last 52 weeks.
License and publishing, version by version
Read daily by Watch since 22 Nov 2026. Tap any value for its receipt: the source as read, its sha256 and when.
License, as each source states it
- Repository · GitHub's match
- npm · better-auth
License history, by version
npm · better-auth
- MIT since 1.2.9-beta.9 (3 Jun 2025), 294 versions
- none stated: 0.0.2-beta.1 to 1.2.9-beta.8 (19 May 2024 to 1 Jun 2025)
- ISC: 0.0.1 (22 Apr 2024)
How the latest version is published
- npm · better-auth
100 or more releases on GitHub, the last on 28 Nov 2026.
Watch's notes
- Better Auth's npm package better-auth first shipped an attested version at 1.4.2-beta.4 (2025-11-24); 4 versions since came without one, 1 of them prereleases, the last 1.4.4 on 2025-11-30, published by bekacru.
What changed
- 28 Nov 2026 published: 2026-11-28T16:27:57Z
- 28 Nov 2026 tag: v1.7.29
- 28 Nov 2026 notes: breaking: 1 item; Changed two-factor backup code generation to require a session still active in the store when a server-side session store is used, even with cookie caching
- 28 Nov 2026 prerelease: yes
- 28 Nov 2026 published: 2026-11-28T18:11:54Z
- 28 Nov 2026 tag: v1.8.0-beta.12
- 28 Nov 2026 release: release:github/803014189/v1.7.29
- 28 Nov 2026 release: release:github/803014189/v1.8.0-beta.12
- 25 Nov 2026 license: MIT
- 25 Nov 2026 attested: yes
- 25 Nov 2026 trusted publisher: github
- 25 Nov 2026 publisher: GitHub Actions
- 25 Nov 2026 published: 2026-11-24T15:16:40.837Z
- 25 Nov 2026 version: version:npm/better-auth@1.7.28
- 25 Nov 2026 latest: 1.7.27 → 1.7.28
- 24 Nov 2026 published: 2026-11-24T15:09:40Z
- 24 Nov 2026 tag: v1.7.28
- 24 Nov 2026 release: release:github/803014189/v1.7.28
- 24 Nov 2026 language: TypeScript
Alternatives in Authentication
See all- Authelia
A self-hosted authentication and authorization server with SSO, two-factor authentication, and access rules.
Apache-2.0 · Go
- authentik
A self-hosted identity provider for SSO, supporting SAML, OAuth2/OIDC, LDAP, and RADIUS.
MIT · review · Python
- Apache Casbin
An authorization library that enforces access-control models such as ACL, RBAC, and ABAC in application code.
Apache-2.0 · Go
Something off?
Corrections and maintainer claims arrive with accounts.