Re:Understanding OAuth2 and OpenID Connect
by patmorgan23 on Sunday September 06, 2020 @12:24PM
(#24392432)
That's what Oauth is though. Oauth is NOT a single sign-on technology, it's about granting access to data across services. OpenID is a single sign-on protocol built on top of Oauth.
[ Parent
| on HN ]
Re:Understanding OAuth2 and OpenID Connect
by WGH_ on Monday September 07, 2020 @11:45AM
(#24400170)
> OpenID is a single sign-on protocol built on top of Oauth.
Note that there's older OpenID (without "Connect"), which, to my knowledge, is more or less dead nowadays, and OpenID Connect, which is indeed built on top of OAuth. Both are indeed SSO, though.
Re:Understanding OAuth2 and OpenID Connect
by sjroot on Sunday September 06, 2020 @12:34PM
(#24392529)
> That’s what Oauth is though.
Splitting hairs but no, Oauth has nothing to do with authentication. An introductory article like this should address the distinction between authentication and authorization in the first section IMO.
Re:Understanding OAuth2 and OpenID Connect
by patmorgan23 on Sunday September 06, 2020 @01:02PM
(#24392775)
Was my comment unclear? "Oauth is NOT single sign-on" single sign-on = authentication. "sharing data across services" = authorizing your data from service A to be used in service B.
Re:Understanding OAuth2 and OpenID Connect
by tasogare on Sunday September 06, 2020 @12:49PM
(#24392666)
> the distinction between authentication and authorization
Distinction which is totally useless in practice as you certainly won’t have authorization without authentication.
Re:Understanding OAuth2 and OpenID Connect
by caseysoftware on Sunday September 06, 2020 @03:16PM
(#24393868)
The distinction is irrelevant if you just consider that authorization (authZ) always happens after authentication (authN) but it is important when you realize that different components/systems/protocols might be used in each.
At that point, the separation is more about capabilities/responsibilities than "does it happen?"
(This is what I do in my day job.)