FHIR Chat · Test Page Overlay broken after enabling Authentication · hapi

Stream: hapi

Topic: Test Page Overlay broken after enabling Authentication


view this post on Zulip Reham Muzzamil (Oct 05 2021 at 18:55):

Hi, I am still exploring the FHIR particularly the web test page overlay that comes along with the HAPI FHIR project. It serves the purpose of testing the server through UI. I am using the JPA Starter Server project and I have provided authentication support in it using Keycloak. The problem is whenever I try to access an API from the overlay it throws an exception of
Error: Response contains non FHIR Content-Type 'text/html'
image.png

As per my understanding security configuration redirects it to the default Keycloak Login Form but the HTML is not allowed to be rendered by the HAPI. Looking forward to the suggestions and thoughts of HAPI FHIR Experts.
Thanks.


Last updated: Apr 12 2022 at 19:14 UTC