In working on a Proof of Concept, I found that I have to get the Access Token before the call is even made to the HS.FHIRServer.Interop.HTTPOperation.
Like how the ServiceName as a setting within the HS.FHIRServer.Interop.HTTPOperation it would be nice to have a drop down of OAuth Clients that can be selected from, so the Operation would call the IsAuthorized, and GetAccessToken as the inital request call is made to the endpoint when connecting to External FHIR Respositories.
Right now I have a Code block within the Business Process that has the OAuthClientID hardcoded to call the IsAuthorized, and GetAccessToken so that the Token can be put into the request object. This seems counter intuitive to have to hardcode it.
Thank you for submitting the idea. The status has been changed to "Needs review".
Stay tuned!