Re:Understanding OAuth2 and OpenID Connect
by the_af on Sunday September 06, 2020 @01:20PM
(#24392914)
Oh, I wasn't clear: I understand the implicit grant and I indeed worked on the implementation of an authorization server in a past job (we validated redirect URLs, indeed!). My point is that OAuth flows are confusing enough for a beginner that it's important to explain why seemingly unnecessary hoops are there. This article doesn't (as far as I can see).
Re:Understanding OAuth2 and OpenID Connect
by sjroot on Sunday September 06, 2020 @01:41PM
(#24393104)
Yeah, I gathered you knew what you were talking about after I had already posted my comment lol. Just left it up in case any others have that question. :D
Re:Understanding OAuth2 and OpenID Connect
by anderspitman on Monday September 07, 2020 @12:45PM
(#24400648)
Are any of the big players (ie FAANG) actually using PKCE yet?
My advice is to just always use the auth code grant with the PKCE extension. TLDR of that extension:
1) client generates a “secret key” that it sends with the authorization request. 2) server associates that key with the authorization code it returns to the authorized client 3) client must present that key again in order to exchange the authorization code for the access token.
Prevents the authorization code from being intercepted and abused.