Better Auth

Open-source authentication and authorization framework for TypeScript applications.

HN commenters like Better Auth as an open-source replacement for services like Clerk, Auth0 and Supabase auth,123 citing its broad feature set, easy extensibility and strong TypeScript developer experience.456 The most common caveat is maturity:78 commenters report rushed code with few tests and little logging, plus breaking changes in patch versions.910
The HN verdict, written from 10 cited comments
9recommend
1warn against
Nov 13, 2025first mention
Aug 29, 2026latest mention
Nov 25 – Oct 26
Used forfor TypeScript projectsfor migrating off Clerkfor migrating off Supabasefor SaaS appsfor new projectsauthenticationauthentication in projects

Why people recommend it

Open-source alternative · 3

Commenters switched to it from Clerk and Supabase and see it as on par with or better than commercial auth services.

“I've recently switched from Clerk to BetterAuth as well and it's really good and definitely would recommend to anyone.”

“better-auth is amazing and made moving off supabase a lot less scary”

moved a project off Supabaseswitched from Supabaseon “Show HN: Replacebase – library to migrate away from …”
Show 1 more

“Better auth is great! I love how it's way more hackable than using a something like Clerk.”

Feature breadth · 2

It covers authn/z, OIDC/SSO provider, RBAC, SAML/SCIM and more, going beyond next-auth/auth.js.

“It's actually really powerful!”

“I've recently switched from Clerk to BetterAuth as well and it's really good and definitely would recommend to anyone.”

Hackable plugins · 2

Its plugin system let one team add iframe postMessage auth, and others build their own auth layers on top of it.

“Better auth is great! I love how it's way more hackable than using a something like Clerk.”

Developer experience · 3

Commenters praise its developer experience in the TypeScript ecosystem and use it across all their projects.

“Better Auth is great, I use it for all my projects.”

Show 1 more

“Better Auth is an excellent authentication library—we use it extensively for auth in LaunchSaaS.”

Lower cost · 1

One commenter who switched from Clerk found it much cheaper and more reliable.

“I've recently switched from Clerk to BetterAuth as well and it's really good and definitely would recommend to anyone.”

Caveats and dissent

Code quality · 1

One user found the early code rushed, with few automated tests and almost no logging.

“I actually use Better Auth, and I'm a huge fan despite those criticisms.”

Breaking changes · 1

Breaking changes in patch versions were reported as more common than in most packages.

“I used Better Auth for my mobile app backend. It works okayish.”

Non-JS clients · 1

The OpenAPI spec gets little care because the project mainly caters to JS frontends, which makes it only okay for a mobile backend.

“I used Better Auth for my mobile app backend. It works okayish.”

Gated features · 2

Some features are enterprise-only, and audit logs require the managed service.

“It's actually really powerful!”

“I actually use Better Auth, and I'm a huge fan despite those criticisms.”

Project maturity · 2

Users said it felt lacking and appeared to be run by one person, and one user is looking for backup plans over its direction.

“When I used it last year, I still found it lacking and it seemed to be run by one guy.”

“I just implemented Better Auth for our new product - time to start looking for backup plans.”

Often compared with

Who recommends it in their own words

All comments 13

“Better Auth is great, I use it for all my projects.”

“It's actually really powerful!”

“I used Better Auth for my mobile app backend. It works okayish.”

“I just implemented Better Auth for our new product - time to start looking for backup plans.”

“I actually use Better Auth, and I'm a huge fan despite those criticisms.”

“I've recently switched from Clerk to BetterAuth as well and it's really good and definitely would recommend to anyone.”

“But inclined to BetterAuth for new projects.”

“Better auth is great! I love how it's way more hackable than using a something like Clerk.”

“When I used it last year, I still found it lacking and it seemed to be run by one guy.”

“better-auth is amazing and made moving off supabase a lot less scary”

moved a project off Supabaseswitched from Supabaseon “Show HN: Replacebase – library to migrate away from …”

“Better Auth is an excellent authentication library—we use it extensively for auth in LaunchSaaS.”

Threads where it came up

Also written as better-auth. Data: better-auth.json. Quotes are verbatim; the verdict and theme labels are written by a model from these comments, and every clause links to its sources.

Keyboard shortcuts
j / kNext / previous item
o or EnterOpen selected item
/Search
g hHome
g tTop
g rRising
g cCategories
tToggle dark mode
?This help