Pass headers from reverse proxy to app

Hi,

due to a quite complex authentication scenario (we need multi tenancy), we want to switch from openid auth to customHeader auth and put a reverse proxy in front of our ShinyProxy deployment doing the actual authentication.

We need to pass a bit more info than only REMOTE_USER and groups to ShinyProxy / the individual apps (like some token we get from the authentication) and I’m not quite sure how to do that. I can’t find anything in the docs on how to pass a http header ShinyProxy receives from the reveres proxy down to the app (preferably as an environmental variable). Is that possible at all?