SHINYPROXY_USERNAME not in environment vars

I’m currently starting out with ShinyProxy and have been able to follow a couple of basic tutorials. At the moment I have a basic repo at https://github.com/danwwilson/basic_shiny that I am trying to access SHINYPROXY_USERNAME with (see in the apps folder for the shiny app)

When I was trying to print the username it would just come up blank, so I’ve put code in there to print all the environment variables, none of which seem to shown the SHINYPROXY_USERNAME or SHINYPROXY_USERGROUPS variables.
21
Any guidance here would be appreciated.

Dan

Hi, you appear to be using shiny server in your image and it removes environment variables - please see related answer: Reading SHINYPROXY_OIDC_ACCESS_TOKEN in app and links therein.