by bundie on 6/25/25, 6:07 PM with 172 comments
by chrisldgk on 6/26/25, 7:55 AM
Glazing over, I just wanted to give props and say that whatever good happens to better-auth, it deserves it.
by TrySound on 6/27/25, 4:02 PM
by dang on 6/25/25, 9:55 PM
Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript - https://news.ycombinator.com/item?id=44030492 - May 2025 (106 comments)
Better Auth – Authentication library for TypeScript - https://news.ycombinator.com/item?id=42272707 - Nov 2024 (32 comments)
Show HN: Comprehensive authentication library for TypeScript - https://news.ycombinator.com/item?id=41678652 - Sept 2024 (44 comments)
by b0a04gl on 6/26/25, 5:24 AM
better auth gives off the same shape. that gets well adopted because it survives scaling without needing a rewrite
same pattern and diff origin place. someone holding the whole stack in their head long enough to ship something
by blackhaj7 on 6/25/25, 10:04 PM
I am also interested on how they plan to monetise it. I love the library and the success story but hope that the weight of this VC money doesn’t impact its awesomeness
by koakuma-chan on 6/26/25, 2:19 AM
by arnavsahu336 on 6/26/25, 8:44 PM
by arend321 on 6/25/25, 11:51 PM
The DX is quite nice, even though not well suited for existing projects as it is hard to migrate existing users. There is no easy way to keep existing sessions or do a legacy login, then migrate a user to the new better-auth supplied hashing function.
by nickzelei on 6/26/25, 1:04 PM
I found this https://better-auth-ui.com/
by Imustaskforhelp on 6/26/25, 9:19 AM
But those who hadn't started using better auth more. And now I guess its crazy how I felt as if this would be just a small project like lucia in the sense of its just created for the passion and the art, but now it has raised 5 mill$ , I wonder if the community wanted this to be an artisanal like project like lucia before its end or what the community thinks of this move. Since VC and open source have some inherent compromises with each other and I guess I just wanted to write this to hear more about people who are using better auth in prod and what they think of what this VC funding.
by socketcluster on 6/26/25, 5:12 AM
I hope they will also develop a self-hosted standalone service/node which hosts accounts and can support JWTs which I could verify on my own servers so the BetterAuth node would issue JWTs signed with a secret key I provided as an ENV var, then I could verify the JWTs on my own servers. This would be a neat decoupling. Could be offered as a SaaS service as well.
I'm also keeping tabs on https://github.com/stack-auth/stack-auth
by arvindparekh on 6/26/25, 11:45 PM
I didn't like the fact that it doesn't have a built-in sign-in ui components, but glady https://github.com/daveyplate/better-auth-ui solves it.
by voidmain0001 on 6/26/25, 9:26 AM
by h1fra on 6/26/25, 8:06 AM
by sebmellen on 6/25/25, 11:15 PM
by govindsb on 6/26/25, 5:14 PM
by exiguus on 6/25/25, 11:07 PM
How does it compare to something mature like keycloak?
And what is the difference to just self-host superbase?
by yewenjie on 6/25/25, 10:14 PM
by dancerofaran on 6/26/25, 2:58 AM
one of the best libraries in the ecosystem. it's basically open-source Clerk without the baggage of needing to trust someone else's security story
by jtms on 6/26/25, 3:25 AM
Its absolutely bonkers to me that web development has gotten to a point where this is a novel pitch. Up until not that long ago ALL auth was done directly in your own database and embeded in your own backend. Am I missing something?
by briandear on 6/26/25, 11:52 AM
by hijinks on 6/26/25, 2:52 AM
by alephnerd on 6/25/25, 11:42 PM
by haneul on 6/25/25, 10:27 PM
by rubenvanwyk on 6/26/25, 6:10 AM
by 1oooqooq on 6/26/25, 5:35 PM
by seivan on 6/26/25, 7:21 AM
by yodon on 6/25/25, 10:32 PM
Oauth2, JWT's, hashes, timestamps, validations, and such, are all totally simple until they're not. The black hats have way more experience and way more time invested in this space than most any normal dev.
by abc123abc123 on 6/26/25, 1:58 PM
by zeroq on 6/26/25, 10:09 AM
Recently I wanted to add auth to my pet project, and between (a) using better-auth, then integrating 3rd party mailer service, and rolling out my main dashboard (b) leeching off free tier of Auth0 or Clerk and getting all batteries included I've chose the latter.
The fact that better-auth doesn't come with barebone dashboard is criminal.
For pet project it doesn't matter if I have to integrate Resend or Clerk, it's still some mental overhead I have to account for, but with Clerk at least I don't have to manage my users using sql queries.
People say it's better because you can embed it in your app. I don't buy that either. If I'd have to rollout better-auth I'd do that as a separate app, just to encapsulate database, dashboard, and integrations.
Anyway, glad it's getting traction, I just don't get all the hype around it.