You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
res_auth[["role"]] <- intersect(unlist(session$groups, use.names=FALSE), dbSelect("select user_role from roles")[[1]]) %||% "default"
} else {
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.
The text was updated successfully, but these errors were encountered:
LDSamson
changed the title
Enhancement: enable ShinyProxy authentication and deployment
Enable ShinyProxy authentication and deployment
Aug 31, 2024
Currently, there is a deployment option called
noncredentialed
in the config yaml file. This assumes deployment using Posit Connect:riskassessment/R/app_server.R
Lines 55 to 60 in b91c6e3
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.
The text was updated successfully, but these errors were encountered: