ShinyProxy 和 IdentityServer4 身份验证

问题描述

我的 ShinyProxy 已启动并正在运行。如果我使用基本身份验证,它就可以工作。我想将 ShinyProxy 与我的 IdentityServer4 连接。

按照documentation of ShinyProxy,我将ShintProxy配置如下:

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

当用户打开浏览器到 ShinyApp 时,它被重定向到 IdentityServer4 的登录页面。用户可以登录然后重定向到

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

不幸的是,结果是

enter image description here

或者如果我在笔记本电脑上尝试,错误会略有不同

enter image description here

ShinyProxy 中的重定向似乎过多。

有什么想法吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)