Ask HN: How Are You Handling Auth in 2026?

5 pointsposted 8 hours ago
by joshcsimmons

Item id: 46455469

12 Comments

ok1984

6 hours ago

The obvious answer would be use oauth and base it on one of the main providers such as Google, Microsoft or Meta.

However starting from last year, due to the fact that these companies are becoming too dominant and I don’t trust them anymore I started applying a philosophy of avoiding to depend on them as much as possible unless customers explicitly require to use their services, for this reason we opted to always have our own solution and if needed integrate it with 3rd party solutions, this way we are not slave to FAMGE companies and we have full control over our product, it’s a small drop in an ocean but at least I sleep with more inner peace knowing that I am still contributing to the distributed architecture of internet.

Sounds crazy, potentially less secure, and time consuming but still, I prefer this approach.

Microsoft already F** Us by buying GitHub, others by stealing accumulated knowledge of stackoverflow, and forcing everybody to be AI dependent because they poured billions in it… I am not letting it happen again.

joshcsimmons

an hour ago

This is phenomenal, more power to you

grinich

6 hours ago

WorkOS powers auth for OpenAI, Anthropic, Cursor, Vercel, Perplexity, Clay, Webflow, Granola, and a bunch of others. Free up to 1m users, you pay for enterprise features.

I'm the founder and happy to help. We've differentiated by focusing on "b2b auth" via SAML/SCIM, but today we do everything else. We also have products for feature flags, encryption, bot blocking, MCP auth, etc.

Fun fact, we actually launched on HN in 2020 :) https://news.ycombinator.com/item?id=22607402

joshcsimmons

an hour ago

This is awesome - I had heard the name floating around but didn't realize how permissive your free tier was. I'm using Clerk for my new project https://thoughtprint.space/ but might switch it over to WorkOS.

leros

6 hours ago

Firebase Auth if I don't need enterprise stuff. Auth0 if I do.

I'm curious to explore some alternatives for enterprise auth like Clerk, but haven't yet.

joshcsimmons

an hour ago

Clerk seems pricey once you scale.

leros

28 minutes ago

That's ok for enterprise stuff where revenue per user is high. I'd hate to lose a 5/6 figure deal because I have to spend time rolling out some sort of enterprise auth solution for a client.

speedgoose

6 hours ago

Keycloak and OpenID Connect and/or OAuth2. I can plug external identity providers to it. It’s not SaaS.

Vishal19111999

8 hours ago

I've used Clerk, it's good. Supabase auth has some minor issues, needs to be more polished.

sama004

6 hours ago

better-auth has been genuinely amazing for ts ecosystem, don't be overdependent on the plugins tho some are not flexible for every use case