Sorry if this thread is dragging out a bit… but we’re still unsure how to use the FHIR2 module without OAuth, now that we have put that off until a later stage.
I think I have read all the REST2 Wiki manual pages, but I don’t see any instructions for using different kinds of authentication (username/password would be our default starting point).
When making REST calls, e.g.
And I’m not authenticated, I get back an authentication request using username/password - when called from my Mozilla browser, and then a JSON file with the correct result. My colleagues have also done this using Java and embedding the username/password with the same successful result.
However, when looking up the same resource via the rest2 URL:
I just get back a plain:
HTTP Status 401 – Unauthorized
What is the default authentication/authorisation mechanism for FHIR2? Did I miss a documentation page? Or a module configuration step?
[BTW: We also tried invoking the Swagger documentation URL, and get the same 401 response.]