Why is OAuth still hard in 2023?
11–20 of 290 posts
Re: Why is OAuth still hard in 2023?
#121. Read loads of docs, end up pretty confused
2. Find a library that seems to do what I want
3. Install this huge library full of opaque code doing...things
4. Have an impossible time troubleshooting issues
5. Get scared ("I'm almost certainly doing something wrong here") and give up
I find it hard to have much faith in security standards like this. I want them small, well defined and understandable and OAuth does not meet any of these criteria in my experience.
Re: Why is OAuth still hard in 2023?
#13Example: What is the purpose of OAuth having specifications for redirect URI allowlist AND PKCE? None. They are entirely duplicative features. But ... reason, reason, reason ... they both exist, and are going to exist, forever. EDIT: I should say, PKCE is a functional superset of redirect URI allowlist.
Re: Why is OAuth still hard in 2023?
#14Re: Why is OAuth still hard in 2023?
#15Because "OAuth" is not a thing, it's a label you can glue on any wild-and-wacky authentication mechanism someone hacks together. It is structurally impossible for OAuth to ever become "easy".
Re: Why is OAuth still hard in 2023?
#16[1]: https://www.authelia.com/integration/trusted-header-sso/intr...
Re: Why is OAuth still hard in 2023?
#17OAuth sucks. It's one of the worst abstractions of our time. It's incredibly easy to implement some half assed spaghetti and call it "standard OAuth".
Re: Why is OAuth still hard in 2023?
#18Re: Why is OAuth still hard in 2023?
#19Re: Why is OAuth still hard in 2023?
#20Agreed that the biggest reason is that OAuth is a framework and not a protocol. That means different companies can do it ever so slightly differently, and as a dev, you need to understand the differences and normalize it for your use case.
At Stytch we've run into the same issues, normalization problems, security implications, flaky IdPs; a hard problem, but one you _have_ to get right!