I'm running ShinyProxy on Kubernetes, integrated with a OAuth2/OpenID authorization server.
On login, the OIDC token is received by ShinyProxy and correctly passed down to the container as SHINYPROXY_OIDC_ACCESS_TOKEN environment variable. The Shiny app can then use the token to make API calls to a resource server, as specified in the documentation.
I was wondering, what happens when the token. expires? My tokens usually have short life (no more than 30 minutes). After that time, all API calls made by the Shiny app will start to fail.
Does ShinyProxy support refreshing the token inside the container/pod?
I'm running ShinyProxy on Kubernetes, integrated with a OAuth2/OpenID authorization server.
On login, the OIDC token is received by ShinyProxy and correctly passed down to the container as
SHINYPROXY_OIDC_ACCESS_TOKENenvironment variable. The Shiny app can then use the token to make API calls to a resource server, as specified in the documentation.I was wondering, what happens when the token. expires? My tokens usually have short life (no more than 30 minutes). After that time, all API calls made by the Shiny app will start to fail.
Does ShinyProxy support refreshing the token inside the container/pod?