Live data from Hacker News

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

news.ycombinator.com

101–110 of 112 posts

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

#101
post #96

Earlier quoted context omitted.

"Grow up", for starters. > Are you a shill, a troll or just an upset fanboy? That's a loaded question and easily enough to count as an attack. This is not a close call!

[flagged]

Ok, since it seems clear that you don't want to use HN as intended, I've banned the account.

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future. They're here: https://news.ycombinator.com/newsguidelines.html.

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

#103
post #88

Sorry to hijack this post, but since people who know are likely to look here... Anyone know what's up with Next-Auth/Auth.js? The main author had a post up [1] stating that they would stop their involvement, but that post appears to have been removed. [1] https://web.archive.org/web/20250419022421/https://balazsorb...

I don't have any details, but maybe this post from a few weeks later about his mental state is relevant? https://balazsorban.com/blog/depression-and-oss

I can't imagine the pressure of running a popular OSS project, even if you have support from a company to make it your full time job.

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

#104
post #35
post #31

Tangentially related, but have you thought about a go to market strategy related to AI? I started a new side project with Cursor to see how it goes, and it suggests a lot of packages for a lot of things (often not even suggests, assume you want it and ask you to install already). I imagine there will be a “AIO” AI optimization field soon. Have you considered at all? I mean. If I explicitly ask Cursor models to use Be…

> I imagine there will be a “AIO” AI optimization field soon. Please no.

Oh, it's coming :(.

The issue is similar to why folks use SEO--discoverability. Both qualitatively and anecdotally we (FusionAuth, my employer) have gotten a fair amount of traffic from GenAI sources.

Once you can get significant traffic, you must start optimizing for the traffic source, otherwise someone else will and you won't get the traffic/views/$$$.

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

#105
post #38

The closest I can think of is Devise for Ruby on Rails ecosystem. While these solution provides great developer experience to get started, IMHO there are solid reasons to have separate identity providers like Auth0 or if you like to self-host, stuff like Keycloak, Dex and more. Consider your business logic backend need multi-region deployments, where will you keep the auth DB? Personally, if I want my app to be futur…

I can see the value of both approaches. (And I work for an auth provider, FusionAuth.) It's the age-old conflict between "use the best tool for the job" and "YAGNI".

There's something so simple about having a single deployment of code and auth wrapped up together, which is what the library approach offers. You can use the database to maintain integrity between your app's domain objects and your users. Everything needed for your app is in one place. I've seen this succeed and been part of teams doing this myself.

But auth/user management is usually the first thing extracted when you start to grow for a reason. Otherwise you end up with your main application serving as both its main purpose and as a user data store for other apps, or worse, you have siloed user data, multiple profiles and credentials for customers, and a worse user experience because your users have to log in to each app separately.

The extraction of this functionality is not as simple as moving other services typically, because of availability reqs and password hashes (not every provider supports every kind of hash, though I will say I wish more folks implemented something like FusionAuth's approach[0]). So that's an argument to just start with a separate service.

And, as you say, a single source of truth of user data for multiple applications has surprising benefits in the long run which counteract the additional complexity. Offering single sign-on across multiple apps[1] is a great feature with user benefits, if you have or plan to have multiple applications. Outsourcing auth to a specialized piece of software lets you focus on your app (once you've integrated, of course, nothing is free) and offer relatively undifferentiated features like MFA, passkeys, or SAML integrations with configuration rather than coding.

I guess the answer is "it depends", as always. I'd consider future plans, number of apps expected, features needed, cost structure, and more when making this decision.

[0]: https://fusionauth.io/docs/extend/code/password-hashes/custo...

[1]: if you and they use a standard like SAML or OIDC, you can even offer single sign-on for commercial off the shelf tools

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

#106
post #15

Are there any tests for this? How do I know if this actually works in the long term?

I'm confused. What kind of long-term concerns do you have about this as opposed to any other library you're integrating into your application?

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

#108
post #101

Earlier quoted context omitted.

[flagged]

Ok, since it seems clear that you don't want to use HN as intended, I've banned the account. If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future. They're here: https://news.ycombinator.com/newsguidelines.html .

[dead]

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

#109
post #88

Sorry to hijack this post, but since people who know are likely to look here... Anyone know what's up with Next-Auth/Auth.js? The main author had a post up [1] stating that they would stop their involvement, but that post appears to have been removed. [1] https://web.archive.org/web/20250419022421/https://balazsorb...

I don't have any details, but maybe this post from a few weeks later about his mental state is relevant? https://balazsorban.com/blog/depression-and-oss I can't imagine the pressure of running a popular OSS project, even if you have support from a company to make it your full time job.

Oh yeah I totally get why he'd step away, especially after the ambitious goals the project set itself. That said, I haven't seen mass panic yet, so I'm wondering if people are confident someone else has picked up or will pick up the slack, or if it's just flying under the radar.
Post reply on HN