Ignore bearer token in unauthenticated web application
Hi All,
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.
You have Security Settings > Allowed Authentication Methods > Password unchecked in your Web Application definition.
Have you tried No Auth in Postman?
Hi All,
The problem is in HS.FHIRServer.RestHandler
For some reason its not allowed to send the bearer token with the unauthenticated application:
We're gonna discuss the issue with intersystems but it looks like we need custom programming to make this situation work in the new HC version.