logoalt Hacker News

SkyPuncheryesterday at 8:12 PM8 repliesview on HN

It’s just a few fields until it’s not.

SSO, SAML, SCIM, OIDC, OAuth, 2FA, passwordless auth, verification tokens, etc etc, And, variations of each for wildly popular systems you’ll be expected to integrate with but don’t support the exact spec.

For a while at my company, half our support engineers time went to handling random SSO issues that came up in our home built auth system.


Replies

sreekanth850today at 3:20 AM

I don’t know when we became this lazy. Auth is hard, sure, but putting your users table and sessions behind a vendor API is not something cool. Tell me one feature that is not supported by libraries like OpenIddict (You can build around) or Keycloak?

show 2 replies
jarymyesterday at 8:36 PM

"home built auth system" is bound to have "random SSO issues". You fix them, that's how things mature.

show 3 replies
moooo99today at 9:12 AM

> For a while at my company, half our support engineers time went to handling random SSO issues that came up in our home built auth system.

fwiw, we also have entire staff dealing with SSO issues among our employees and users, despite relying on external services to handle auth.

A problem domain as complex as authentication is bound to habe issues of some sort. But I am not sure if I would be so fond of „outsourcing“ something as integral to my services as the access to these services

show 1 reply
amlutoyesterday at 11:23 PM

Is this perhaps a reason to have a Users table that is separate from the table of data on how you authenticate that user?

EtienneKtoday at 5:04 AM

That’s when you install Keycloak.

sebmellentoday at 4:08 AM

Just use Ory Kratos and self host it.

faangguyindiatoday at 6:57 AM

is it just me? who just uses magic links delivered via email or telegram as backup?

impulser_yesterday at 9:10 PM

Majority of apps are B2C apps, they don't need any of this.

All you need is Apple and Google Oauth.

show 2 replies