Is it possible to send the SecurityTokenResponse from the IOrganizationServiceProxy in a HttpClient PostAsync call to an API defined in a SSO portal?
问题 We have a SSO portal that is authenticated via ADFS. If I call an API defined in this portal in the browser it automatically redirects to ADFS to authenticate then redirects to the portal with the Claim to call the API. What I'm trying to do is call the API from within a CRM Workflow. How can I mimic this redirect? I thought if I somehow got the token & put it in the HttpClient request, it would help. But I have no idea how it should be added to the HttpClient request. Is what I am trying to