microscopic-answer-24504
07/04/2022, 9:23 PMlate-tiger-78467
07/05/2022, 1:23 AMauthorization_details
(new rich authorization request) that is used to determine what should be allowed on the application.
2. Contains user consent information that drives privacy decisions on the client app.
3. Authorize resource API calls: With regards to what you mentioned about SPAs or, in general, API calls made from an untrusted user agent, this is a concern because the token can basically be copied and used elsewhere. This is mitigated today with shorter lifespans, but the real mitigation is in the form of sender-constrained access tokens. For pure SPAs with no backend, they would use distributed proof of possession (DPoP) - currently in draft 09 and I still have some concerns with that spec particularly from a MITM perspective. If the app has a backend, certificate bound access tokens are probably the best choice.late-tiger-78467
07/05/2022, 1:24 AMalert-appointment-1581
07/05/2022, 6:31 AMlate-tiger-78467
07/05/2022, 8:06 AMscope
is not included with your id_token. It's in your introspection payload.late-tiger-78467
07/05/2022, 8:06 AMlate-tiger-78467
07/05/2022, 8:07 AMlate-tiger-78467
07/05/2022, 8:10 AMscope
is a representation of permissions granted to an app and, in OIDC, the set of standard scope values (such as profile) dictate the user profile attributes that should be made available to the RP. Should the request have separated scope (for the purposes of permissions) from the claim aggregates like profile? Sure. But the decision to not do so likely stemmed from the fact that an app is effectively requesting that a user grant access to certain parts of their user profile.late-tiger-78467
07/05/2022, 8:13 AMcode id_token
. It requests for id_token
because it needs user profile information to be presented on the page. It needs an access token because that token is then used to authorize calls to the /payments API hosted by the bank. The id_token cannot be used for this purpose because it does not contain the consent information (represented by scope or authorization_details). It would also potentially not contain the amr
that indicates strong authentication has been completed.alert-appointment-1581
07/05/2022, 8:59 AMlate-tiger-78467
07/05/2022, 9:05 AMalert-appointment-1581
07/08/2022, 5:17 PM