News for hackers. Stuff that matters.
Re:Amazon tripled prices for the basic tier of their auth se... by jonahx on Tuesday November 26, 2024 @08:07PM (#42251896)
which do you recommend?
Re:Amazon tripled prices for the basic tier of their auth se... by pajeetz on Tuesday November 26, 2024 @08:30PM (#42252040)
pocketbase, lucia auth, there are so many options that won't meter you for MAU for a user table in your database.

authentication is critical, you shouldn't be outsourcing this stuff anyhow. learn how to harden your box, use cloudflare tunnel and dont store passwords in plaintext.

its really not hard to do and constantly being gaslighted into paying someone to do it for you because everybody else is doing it is just irresponsible.

Re:Amazon tripled prices for the basic tier of their auth se... by jonahx on Tuesday November 26, 2024 @08:49PM (#42252142)
Very much agree with your attitude here. What happens is that nice to have features like email reset/email magic login/social logins/etc accumulate and you don't want to be on the hook for implementing them all yourself, especially with other priorities. Ofc there are open solutions for most of these in most popular languages, but I've found even those take non-trivial amounts of time to setup right and test, and often aren't exactly what you want, or have unnecessary complexity.
Re:Amazon tripled prices for the basic tier of their auth se... by pajeetz on Wednesday November 27, 2024 @01:34AM (#42253525)
I respect your view. I'm not involved with Lucia btw but i do feel v2 covers a lot of those edge case you described and for almost all sub 100k concurrent sessions I find pocketbase deliver here (if anybody is interested).

I guess one clear difference is the lack of a marketing department from something well funded. I recall another HN comment here that said the best business model is to take something people can do already and mark it up by selling the pain points, that could be whats also helping all these auth as a service vendors.

Re:Amazon tripled prices for the basic tier of their auth se... by portaouflop on Wednesday November 27, 2024 @04:46AM (#42254585)
Please don’t roll your own Auth - there are too many examples where this went wrong.

Go with a proven, vetted, and trusted open source solution.

Re:Amazon tripled prices for the basic tier of their auth se... by n2d4 on Tuesday November 26, 2024 @08:57PM (#42252178)
I'm biased but Stack Auth [0] is fully open-source, self-hostable, and we offer reasonably priced managed hosting, if that floats your boat.

[0] https://github.com/stack-auth/stack

Re:Amazon tripled prices for the basic tier of their auth se... by stevepotter on Tuesday November 26, 2024 @09:23PM (#42252316)
Wow I just got done integrating NextAuth. I will totally switch to this if you can support my mobile API. My nextjs app has some API routes used by my native iOS app. It was a bit of a hassle with NextAuth and I was surprised at the lack of support and demand for it (am I crazy for using next for a mobile API? I don't think so). If you support that use case (I didn't see anything in the docs), that would be great. I'm already done with the iOS portion, which basically stores the
Re:Amazon tripled prices for the basic tier of their auth se... by bhouston on Tuesday November 26, 2024 @09:07PM (#42252237)
Looks really nice! Really need Remix and Tan-Stack support though - these are taking a lot of market share from Next.js because they have less confused models.

I think it shouldn't be too hard. I could even add Remix support for you if you wanted to do a contract (I am not able to do major open source work for free right now.)

Re:Amazon tripled prices for the basic tier of their auth se... by bootstrpppin on Wednesday November 27, 2024 @06:43AM (#42255282)
I've used a few:

- Cognito: bad

- Clerk: ok for small scale applications but they're a small company 'moving fast and breaking things'. It's not stable enough for a enterprise grade product that needs robustness.

- Auth0: Good but can get expensive

- WorkOS: Good for B2B, especially if 'directory syncing' is important for your usecase

Re:Amazon tripled prices for the basic tier of their auth se... by bekacru on Wednesday November 27, 2024 @08:35AM (#42255964)