Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add necessary functionality to Fhir Client to handle Smart On Fhir authorization tokens #195
The Smart on Fhir protocol requires http fhir messages to be sent with an http header["Authorization"] value that is returned from the smart on fhir server during oauth2 initialization.
There is no way that I can see to add the authorization token to the fhir client so that it is sent with the http request, and hence no way that I can see to use the fhir client with smart on fhir.
This is the code from my Bearer authorize unit test...
Then you can just use the API as normal.