When setting up a named credential with Identity Type as Named Principal, two options are shown for JWT : JWT & JWT Token Exchange
Could anyone explain what is the difference between the two?
When JWT exchange is selected, two additional attributes Scope and Token Endpoint URL are shown.
This kind of makes sense to me, that the URL attribute in the top is the endpoint url for the service to which, the call needs to be made and the token endpoint url is the one for which the JWT will be sent to get the access token.
Other than that, I am not sure, what is the difference. When JWT is selected instead of JWT Exchange, Does salesforce assume that service end point url and the authentication token endpoint url are same?
