shinyproxy icon indicating copy to clipboard operation
shinyproxy copied to clipboard

Opaque access token with auth0

Open KZARCA opened this issue 6 years ago • 1 comments

Using the web interface, the access token given by SHINYPROXY_OIDC_ACCESS_TOKEN is opaque. In https://github.com/openanalytics/shinyproxy-config-examples/tree/master/08-api-oauth2, the audience is different, therefore the access token generated is JWT.

I want to use the API to stop a proxy started with the web interface. It seems that SHINYPROXY_OIDC_ACCESS_TOKEN is not working using --header 'Authorization: Bearer the_access_token'". Is it because it's an opaque token?

KZARCA avatar Jun 04 '19 14:06 KZARCA

Hi, this is an old issue, but this is supported by ShinyProxy if you configure OAuth (in addition to OpenID), see https://shinyproxy.io/documentation/configuration/#api for more information.

LEDfan avatar May 07 '24 14:05 LEDfan