Stream: implementers
Topic: FHIR Security Token
Marc Blasi (Oct 30 2018 at 15:31):
Dumb question... I am trying to create a FHIR client at the server level and being passed the security token. I can call public APIs just fine but wanted to call some private APIs leveraging the token and passing it in the header as I would from a smart on fhir client. Is there documentation I am missing on adding that to the FhirClient?
Michele Mottini (Oct 30 2018 at 15:42):
Is FhirClient a library of some kind? If so, which one?
John Moehrke (Oct 30 2018 at 15:58):
this seems like a question about a specific implementation, not about the FHIR specification. you should address the source of the implementation you are trying to use, using their defined support mechanism.
Marc Blasi (Oct 30 2018 at 17:39):
makes sense. sorry put the question at the wrong level. it is the .net FHIR implementation
Michele Mottini (Oct 30 2018 at 19:18):
No problem. There is a #dotnet stream for questions specific to that library. The answer is to use the OnBeforeRequest event to add an Authorization header to the request with the bearer token
Last updated: Apr 12 2022 at 19:14 UTC