Passing per-request Apache environment variables to Node app
I’m authenticating to Shibboleth IdP using Apache mod_shib
and ProxyPass
to access a Node application running NestJS. SAML attributes are released as environment variables (strongly preferred) or HTTP headers as configured. ProxyPass
is capable of passing HTTP headers onto the Node app, and I was able to test this with success, but have not been successful in passing environment variables onto the Node app. I.e.: