News for hackers. Stuff that matters.
Re:Why is OAuth still hard in 2023? by znpy on Wednesday April 26, 2023 @06:14PM (#35720723)
when it comes to this kind of things there's really no way around it: you're supposed to read the RFCs:

- https://www.rfc-editor.org/rfc/rfc6749.html: The OAuth 2.0 Authorization Framework

- https://www.rfc-editor.org/rfc/rfc6750.html: The OAuth 2.0 Authorization Framework: Bearer Token Usage

Re:Why is OAuth still hard in 2023? by asdfman123 on Wednesday April 26, 2023 @08:39PM (#35721822)
As someone who is hired to sling out features as rapidly as possible, that’s not going to happen.

I mean, you might say “but you should” or “it would actually help” or “in an ideal world…” but it is still, realistically, not going to happen.

Re:Why is OAuth still hard in 2023? by sytringy05 on Wednesday April 26, 2023 @08:55PM (#35721928)
Well hopefully someone has taken the time to, or there will be nasty surprises

I certainly don't want people building security sensitive parts of an app to be slinging the features out.

Re:Why is OAuth still hard in 2023? by znpy on Thursday April 27, 2023 @07:47AM (#35726624)
> As someone who is hired to sling out features as rapidly as possible, that’s not going to happen.

you do you, i guess.

but that's where the source of truth about how oauth 2.0 works is.

the "why" you're looking for it's in there.

Re:Why is OAuth still hard in 2023? by tsukikage on Thursday April 27, 2023 @09:37AM (#35727924)
...you can't really have it both ways, though. Either you have time to read the detailed docs, in which case there they are in grandparent's post; or you do not, in which case you're going to be putting up with simplified black box abstractions and whatever problems occur when the use case the designer of those had in mind while hiding the complexity from you does not match your own.
Re:Why is OAuth still hard in 2023? by izacus on Thursday April 27, 2023 @12:36AM (#35723377)
That doesn't explain what the library is trying to do and how it implements it though.
Re:Why is OAuth still hard in 2023? by znpy on Thursday April 27, 2023 @07:48AM (#35726638)
if the library is implementing oauth 2.0, that explains what the library is trying to do.

how it's implemented... well that's an implementation detail, that most often one couldn't understand without the domain knowledge (unless it's something "trivial" like an off-by-one in some string comparison or something like that).

Re:Why is OAuth still hard in 2023? by izacus on Thursday April 27, 2023 @08:21AM (#35726951)
Yes, that "domain knowledge" is kinda important when you're trying to debug a blob of code that results in random permission errors after OAuth request.

The "implementation details" are what we're tasked with implementing ;)

Re:Why is OAuth still hard in 2023? by paulddraper on Thursday April 27, 2023 @11:44AM (#35729803)
The difference is that the RFC covers everything, whereas OAuth providers choose a subset of what they actually want to support.

Search engine > Encyclopedia