Hi everyone,
I’m setting up an OHIF Viewer with dcm4chee-arc and Keycloak for OIDC authentication, all running as Docker containers. After login through Keycloak, I get redirected back to OHIF, but the app just shows a blank screen. The OIDC configuration API returns 200 OK, but nothing loads.
Setup Overview:
OHIF: ohif/app:latest (Docker)
Keycloak: dcm4che/keycloak:26.0.6 (Docker)
dcm4chee-arc: dcm4che/dcm4chee-arc-psql:5.33.1-secure (Docker)
Other services: LDAP, MariaDB, PostgreSQL (all Dockerized)
Accessing OHIF at: http://localhost:3000
My OHIF Config:
Docker Compose (relevant parts):
What I observe:
Login with Keycloak works, callback hits /callback on OHIF.
OIDC config API returns 200 OK.
The app is just a blank screen (no error in browser console).
No obvious errors in Docker logs
What I’ve checked:
Keycloak client ohif-viewer exists, with openid scope.
Redirect URI in Keycloak matches http://localhost:3000/callback.
Keycloak realm and authority URL match.
Tried with both HTTP and HTTPS for OHIF, same result.
Questions:
Has anyone run into this blank screen issue after OIDC login with this stack?
Are there special Keycloak client settings needed (web origins, redirect URIs, etc.)?
Should I be using Docker service names instead of localhost in my configs?
Are there CORS or proxy settings I should check?
Any known issues with this version combination?