Token exchange is a responsability of the STS.
In order to exchange a token from Domain A to Domain B,
We need to send a POST request with the original JWT in the form data, you need to specify:
grant_type : token_exchange
subject_token : put your Original JWT token
subject_token_type : jwt
some private key value like audience
From RFC 8693 :
- grant_type
- subject_token
- subject_token_type
more details https://tools.ietf.org/html/rfc8693
Also chapter 7.6 of Microservices Security In Action
Aucun commentaire:
Enregistrer un commentaire
to criticize, to improve