News for hackers. Stuff that matters.
Re:Better Auth, a TypeScript authentication library, raises ... by risyachka on Wednesday June 25, 2025 @07:00PM (#44382590)
Yeah it’s not difficult if you know all the specs.

The issue is 99% don’t know them and are not very good at following them. And the cost of error is very high.

I’ve seen a lot of startups that failed to implement even google oauth securely.

So yeah it’s a far cry from fud and you really should not do it unless you are actually good.

Re:Better Auth, a TypeScript authentication library, raises ... by threatofrain on Wednesday June 25, 2025 @07:04PM (#44382621)
But given that BetterAuth is an open source project with a large following, and also given that they just got funding so they can hire more help, now we can evaluate BetterAuth's competency in terms of their ability to coordinate help.
Re:Better Auth, a TypeScript authentication library, raises ... by kylecazar on Wednesday June 25, 2025 @08:31PM (#44383117)
Also, as far as I know, they aren't reimplementing the core auth libraries/specs mentioned
Re:Better Auth, a TypeScript authentication library, raises ... by fmbb on Wednesday June 25, 2025 @08:38PM (#44383147)
OAuth is very complicated and fuzzy though.

I am not surprised anyone makes mistakes trying to integrate it anywhere.

Re:Better Auth, a TypeScript authentication library, raises ... by motorest on Thursday June 26, 2025 @12:37AM (#44384218)
> Yeah it’s not difficult if you know all the specs.

I don't think this is a valid point. Specs only cover a single responsibility: interoperability. This is not a critical requirement of auth services, unless you have a hard requirement on federated auth.