logoalt Hacker News

kennywinkeryesterday at 7:49 AM5 repliesview on HN

> Hopefully, this post helps clear that up!

Thanks, it did not.

OAuth and OpenID Connect are a denial of service attack on the brains of the humans who have to work with them.


Replies

frizlabyesterday at 12:30 PM

I have implemented OAuth both as a client and a server. The most complicated part is the scattered documentation, and little gotchas from different providers. In itself, the whole thing is not complex.

show 1 reply
clarkdaleyesterday at 9:25 PM

Completely agree. OAuth, Auth0, Okta, OIDC.

hahn-kevyesterday at 1:38 PM

No you're thinking of SAML.

show 1 reply
BrandoElFollitoyesterday at 9:47 AM

I use OIDC in my home lab (with Authelia). It is very simple to work with it.

I do not understand what I am doing and trust the docs, but it has never been a particularly difficult setup.

show 2 replies
TZubiriyesterday at 12:15 PM

A has an account at B, A has another account at C, A wants to allow C to access data at B (or to send data to B on A's behalf).

How can B be sure that C is acting on A's behalf? Can A only allow C to access certain data (or send only certain data) in order to reduce risk?

A protocol that allows for that three way negotiation is OAuth.

Like with most specs, a lot of the complexity is added in the later years, by companies that have thousands of users and complex edge cases and necessities, and they are the ones dominating the council, and their needs are the ones that push forward newer versions.

So with most specs, the best way to start learning it is by learning from the oldest specs to the newest ones, so if you start by reading or using OAuth2, you will be bombarded with a lot of extra complexities, not even the current experts started like that.

If you need to catch up, always start with the oldest specs/versions.

show 1 reply