This page is a handy, quick check for developers to see if everything is working ok, but if I add authorization to my FHIR services it won't work anymore. How hard would it be to get this page to pass in an Authorization header ? I did a lot of google research and the results weren't very encouraging.
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+unsubscribe@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/65bd2d52-a062-448a-88b7-c314d18a4b70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
So, I was looking to just tweek the TestPage, which is a jQuery app. Isn't that all browser side? I thought I needed something like JSP to use the client libs.
There's a class BearerTokenClientFactory that looks like it will register the right interceptor using a token it gets from the "apiKey" parameter, but I'm not sure it's actually configured to be called.