Live data from Hacker News

Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript

news.ycombinator.com

21–30 of 112 posts

Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript

#21
We have been using better-auth (open source) for a while, it was immediately a better experience compared to the existing (typescript) auth libraries. Plus no Nextjs lock-in, we migrated off Nextjs to Hono and only had to change the router.

Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript

#22
A few months ago, I found a security vulnerability for better-auth. Within 24 hours of reporting the vulnerability to the team, it was patched, a notice had been posted, and I had been credited with a CVE. THAT is how you do it, folks!

This team is top notch. The community leadership, responsiveness, and development speed has been incredible. The project itself is also great--this library is so much more flexible than others and requires much less effort to wrap my brain around. I'm so happy that this library is getting the recognition it deserves.

Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript

#23
Welcome to the auth party! (Full disclosure, I work for FusionAuth, one of those third party auth providers.)

I feel like every ecosystem should have a great auth library, and am glad to see you taking on this challenge. I come from the ruby and java worlds where devise and spring auth are great choices, and have watched as several options have risen and fallen in the JS world (passport.js, nextauth). I've heard good things about your project from colleagues, so hopefully you'll win :).

Sounds like you plan to support this via infrastructure and higher level features. Any plans to offer paid support as well?

Anyway, congrats on your launch!

Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript

#24
post #23

Welcome to the auth party! (Full disclosure, I work for FusionAuth, one of those third party auth providers.) I feel like every ecosystem should have a great auth library, and am glad to see you taking on this challenge. I come from the ruby and java worlds where devise and spring auth are great choices, and have watched as several options have risen and fallen in the JS world (passport.js, nextauth). I've heard good…

Appreciate the kind words :)) Yeah, it’ll mostly be high-level features. We do plan to offer paid support seems like there’s demand for it, and it helps give teams more confidence when choosing the library.

Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript

#25
post #24
post #23

Welcome to the auth party! (Full disclosure, I work for FusionAuth, one of those third party auth providers.) I feel like every ecosystem should have a great auth library, and am glad to see you taking on this challenge. I come from the ruby and java worlds where devise and spring auth are great choices, and have watched as several options have risen and fallen in the JS world (passport.js, nextauth). I've heard good…

Appreciate the kind words :)) Yeah, it’ll mostly be high-level features. We do plan to offer paid support seems like there’s demand for it, and it helps give teams more confidence when choosing the library.

+1 to Dan's comment! Excited to see you guys inject some new life into our space.

Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript

#26
I'm very tempted to make the leap from Lucia to Better Auth for a greenfield project, but the thought of jumping yet again from one auth solution to another is making me hesitate. If there are any satisfied (or unsatisfied) devs who have attempted the Lucia -> Better Auth transition, I'd love to hear your thoughts on this!

Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript

#27

This looks really exciting. I'm sold. I'm planning to migrate to BetterAuth from Firebase Auth in the next few months, how does the two compare? Personally I'm happy with Firebase (migrated from Workos which was so frustrating and lacking in many aspects, or in other words a huge mistake when picking), not so happy about the vendor lock and the vendor itself.

Hi - I'm the founder of WorkOS. Would love any feedback you can share here or via email (mg@workos.com)

Betterauth and WorkOS are pretty different. For example, WorkOS isn't designed exclusively for TypeScript (we support SDKs for a bunch of languages/platforms) and WorkOS runs as a cloud service. The developer experience will always be different because of this.

We also design the platform to be modular, which enables you to just use WorkOS for SSO or SCIM alongside an existing auth stack. We call these the standalone APIs and lots of customers use it this way.

WorkOS is focused on enterprise features for b2b apps and solving problems that come with growing upmarket. Today we power auth for OpenAI, Anthropic, Perplexity, Cursor, Vercel, Plaid, and hundreds more.

We love getting feedback so please feel free to post here, email, or twitter DMs are open. Thanks!

(I also love open source and am glad to see more innovation happening here in the ecosystem!)

Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript

#28
post #10

Better Auth is awesome and I didn't even realize they hadn't publicly launched yet - I'm using it in production apps, and have seen it being used in all kinds of real-world use cases. IMO it's the best open-source option for a TypeScript developer who wants to implement authentication. About the dashboard - would this just be an interface to my existing Better Auth setup (e.g. if I had customized the underlying data…

Thanks for the kind words - really appreciate it! And yes, it connects directly to your existing setup (the dashboard is mostly just a UI). What you’re really “buying” from us are the additional features on the dashboard like bot protection, analytics, etc...when you need them. We’re still figuring out the pricing, but most likely, the base dashboard will just be free ;)

Awesome! I used Better Auth for consulting work helping clients build MVPs, and if I could hand them a beautiful admin dashboard rather than linking it up to Retool or their BI tool of choice, they would instantly go for it - especially with all the bot protection and analytics features that I don't have time to build.

One of the reasons I prefer BA is because I retain a lot of flexibility with designing the rest of the system around the authentication. So for example, if I want to have an additional column per user, it's a lot easier to wrap my head around adding a new Postgres column than using some API for appending data to a user in Cognito/Auth0/Okta/etc in some rigid format.

Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript

#30

might be dumb q, but does it work well with Supabase Auth?

not at all dumb, i had same qtn. i assume its a direct replacement, and there should be some pros and cons, so what i'd really want is a knowledgeable person doing comparisons along the 4-5 major axes that people should really care about

axes i care about

0. does betterauth have google/twitter/github oauth? (i assume yes but hey its basic) 2fa support? Activedirectory/Okta/Workos/other team management level auth?

1. does betterauth integrate with postgres RLS? is there a better way to do the same job?

2. (pls autocomplete)

Post reply on HN