News for hackers. Stuff that matters.
Re:The Modern Guide to OAuth by mooreds on Friday December 31, 2021 @09:24PM (#29754818)
Actually, many vendors use JWTs as the OAuth tokens, though they don't have to. And they are required by OIDC.

There's a standard for using JWTs as OAuth tokens, though it is a new one that may not be well supported yet: https://datatracker.ietf.org/doc/html/rfc9068

Re:The Modern Guide to OAuth by dwaite on Saturday January 01, 2022 @07:52AM (#29757900)
> Actually, many vendors use JWTs as the OAuth tokens, though they don't have to. And they are required by OIDC.

Clarification - only the id_token defined by OIDC needs to be a JWT. This is because it is an authentication statement to the client, so the client needs to be able to verify and understand the data.

Re:The Modern Guide to OAuth by mooreds on Tuesday January 04, 2022 @08:59AM (#29794777)
Fair point. I didn't realize that the access token was referenced in the OIDC spec, but sure enough, there it is:

"After receiving and validating a valid and authorized Token Request from the Client, the Authorization Server returns a successful response that includes an ID Token and an Access Token"

https://openid.net/specs/openid-connect-core-1_0.html#TokenR...