Hello,
I have an instance of the openmrs-distro-referenceapplication docker stack using an Apache reverse proxy to handle SSL termination. I’m also trying to add OIDC login with an external IDP (Rauthy). The trouble I’m running into is, because traffic between the container and reverse proxy is plain http, the generated redirect_uri in the initial oauth redirect uses http instead of https.
My reverse proxy is setting the X-Forwarded-For header, and I also tried overriding the gateway nginx container configuration to set X-Forwarded-Proto https, but the application continues to generate the wrong redirect parameter: client_id=openmrs&redirect_uri=http://openmrs...
Is there another configuration value to set to force this protocol in the backend to fix these generated URIs?
Thanks,