For deployment with the latest version of ShinyProxy, different objects need to be used to read the user and group information from: Instead of session$user and session$groups it would be best to read from HTTP headers (should be something like session$request$HTTP_X_SP_USERIDsession$request$HTTP_X_SP_USERGROUPS).
It would be great if such a feature can be implemented. If you are interested I can help with that.
Currently, there is a deployment option called
noncredentialed
in the config yaml file. This assumes deployment using Posit Connect:https://github.com/pharmaR/riskassessment/blob/b91c6e36340fc9f552c79024945079c3da03d107/R/app_server.R#L55-L60
For deployment with the latest version of ShinyProxy, different objects need to be used to read the user and group information from: Instead of
session$user
andsession$groups
it would be best to read from HTTP headers (should be something likesession$request$HTTP_X_SP_USERID
session$request$HTTP_X_SP_USERGROUPS
).It would be great if such a feature can be implemented. If you are interested I can help with that.