Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
927 views
in Technique[技术] by (71.8m points)

shiny - ShinyProxy and authentication with IdentityServer4

My ShinyProxy is up and running. If I use the authentication basic, it is working. I wanted to connect the ShinyProxy with my IdentityServer4.

Follow the documentation of ShinyProxy, I configure my ShintProxy as follow:

proxy:
  title: Open Analytics Shiny Proxy
  port: 8080

  authentication: openid
  admin-groups: scientists
  openid:
    auth-url: https://myidentityserver4/connect/authorize
    token-url: https://myidentityserver4/connect/token
    jwks-url: https://myidentityserver4/.well-known/openid-configuration/jwks
    client-id: ShinyProxy
    client-secret: password

When the user opens the browser to the ShinyApp, it is redirected to login page to the IdentityServer4. The user can login and then it is redirected to

http://myshinyproxyurl)/login/oauth2/code/shinyproxy

Unfortunately, the result is

enter image description here

or if I try on my laptop the error is slightly different

enter image description here

It seems there are too many redirections in the ShinyProxy.

Any ideas?

question from:https://stackoverflow.com/questions/65924656/shinyproxy-and-authentication-with-identityserver4

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...