This change adds fields to the token exchange and token claims types.
The act claim has been added to describe the actor in case of impersonation or delegation. An actor can be nested in case an obtained token is used as actor token to obtain impersonation or delegation. This allows creating a chain of actors. See RFC 8693, section 4.1. The invalid_target error has been added as per RFC requirements.
The id_token field has been added to the Token Exchange response so an ID Token can be returned along with an access token. This is not specified in RFC 8693, but it allows us be consistent with OpenID responses when the scope openid is set, while the requested token type may remain access token.
The token exchange client now also can use JWT Profile authentication, which was needed for integration tests in ZITADEL.
This change adds fields to the token exchange and token claims types.
The
act
claim has been added to describe the actor in case of impersonation or delegation. An actor can be nested in case an obtained token is used as actor token to obtain impersonation or delegation. This allows creating a chain of actors. See RFC 8693, section 4.1. Theinvalid_target
error has been added as per RFC requirements.The
id_token
field has been added to the Token Exchange response so an ID Token can be returned along with an access token. This is not specified in RFC 8693, but it allows us be consistent with OpenID responses when the scopeopenid
is set, while the requested token type may remain access token.The token exchange client now also can use JWT Profile authentication, which was needed for integration tests in ZITADEL.
Related https://github.com/zitadel/zitadel/issues/7210
Definition of Ready