logoalt Hacker News

codeulikeyesterday at 9:18 AM1 replyview on HN

The central paragraph of this is still really hard to parse:

"At its core, OAuth for delegation is a standard way to do the following:

The first half exists to send, with consent, a multi-use secret to a known delegate.

The other half of OAuth details how the delegate can use that secret to make subsequent requests on behalf of the person that gave the consent"

This paragraph has a bunch of words that need defining (the word delegate does not appear on the page until then) and a confusing use of 'first half', 'second half' .... First half of what?

Surely it can be explained better than that?


Replies

TZubiriyesterday at 12:07 PM

The sentence is correct and accurately describes OAuth.

Delegate is just a standard word, look it up on a dictionary. If anything its internal technical definition is precisely in that sentence.

>"First half of what"

The spec, the standard, half of it deals with X, the other half of it deals with Y. Namely one half being how user grants permission to a third party, and the other half being how the third party makes requests to the main data holder.

If you need another definition: OAuth is a three way protocol between users, a service provider, and a third party. A user gives specific permissions to the third party, so that the service provider can share specific resources with the third party, who acts on the user's behalf.

show 1 reply