Ignore bearer token in unauthenticated web application
Hopefully someone can help me with this question.
I've got a FHIR adapter service defined as described here:
The web application is running:
This works well when asking the FHIR metadata I get a nice 200 response:
But when I want to request patient data I need to send the Access Token in the Request:
This gives a 401 error and I don't see any message at the InteropService (HS.FHIRServer.Interop.Service).
It looks like that the webapplication doesn't like the Authorization header:
How can I make sure that the webapplication just ignores the Autorization header?
I only need the token on a later moment when interacting with the FHIR server.