Access session$user

Hi there-
Using Auth0, how to get the user logged-in information. In shiny Server pro i used to get the session user info via the session$user property which will gives me back john.doe or
How could I get similar info with ShinyProxy and Auth0 please?
Thanks, Dylan

1 Like

Hi @Dylan_Cissou,

The user and group membership of a user are typically made available as environment variables SHINYPROXY_USERNAME and SHINYPROXY_USERGROUPS which you can read out in R using Sys.getenv


This has been implemented for all other authentication technologies (and I’d expect it to work for Auth0 as well), but don’t hesitate to post an issue on Github if we have overlooked this.