-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Since Refresh Tokens should not be returned when exchanging ID-JAG for an Access Token with the Resource Authorization Server, the Client will need to make an extra round-trip to the IDP Authorization Server to renew an ID Token using the IDP's Refresh Token so it can obtain a fresh ID-JAG with the new ID Token. See https://www.ietf.org/archive/id/draft-ietf-oauth-identity-assertion-authz-grant-01.html#name-refresh-token
Adding support for urn:ietf:params:oauth:token-type:refresh_token as the subject_token in the ID-JAG Token Exchange request would eliminate the round-trip needed to obtain the ID Token first as the IdP Authorization Server can dereference the refresh token to obtain the same claims that would be present in the ID Token.
We should also consider recommending that the IdP Authorization Server MAY return a refresh_token when exchanging a urn:ietf:params:oauth:token-type:saml2 token as the subject_token for an ID-JAG. This would enable a Client that uses SAML for SSO to obtain a refresh token that they can use to renew ID-JAGs without having to switch to OIDC or redirect the user over the front channel.