I have a Shiny server running on Ubuntu Linux. Access is controlled via the Apache module "libapache2-mod-auth-openidc" and a Microsoft Azure Active Directory. Below is the access section of my Apache config file.
My question is, how can I determine via a Linux command or other procedure who is currently logged on to the Shiny Server Session?
I have seen others recommend using "user$session" in the Shiny App but this returns null for me. I image there must be some way to queuy the current user (if not from with the Shiny App. then it should hopefully be possible outside in the Linux environment).
Thanks.
OIDCProviderMetadataURL https://xxxxx....
OIDCRedirectURI https://xxxxx....
OIDCClientID 123.....
OIDCClientSecret abc....
OIDCCryptoPassphrase abc....
OIDCRemoteUserClaim upn
<Location />
SSLRequireSSL
SSLOptions +StdEnvVars
AuthType openid-connect
require valid-user
Options Includes FollowSymLinks
AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
</Location>