ShinyProxy和Google身份验证错误404

时间:2018-10-03 10:23:49

标签: spring oauth-2.0 shiny google-oauth shinyproxy

我无法使ShinyProxy与Google身份验证一起工作,因为登录后出现错误404:

enter image description here

application.yml(不用担心密钥,我仅将其公开用于测试):

proxy:
  port: 8080
  authentication: social
  admin-groups: admins
  users:
  - name: jack
    password: password
    groups: admins
  - name: jeff
    password: password
  social:
    google:
      app-id: 81901800067-1sgai4r40a3opihnn9r2n7o0gai6141h.apps.googleusercontent.com
      app-secret: 6-UDqDby1i7Cjd-Xe3-gNtcK
  docker:
      internal-networking: true
  specs:
  - id: 01_hello
    display-name: Hello Application
    description: Application which demonstrates the basics of a Shiny app
    container-cmd: ["R", "-e", "shinyproxy::run_01_hello()"]
    container-image: openanalytics/shinyproxy-demo
    container-network: sp-example-net
  - id: 06_tabsets
    container-cmd: ["R", "-e", "shinyproxy::run_06_tabsets()"]
    container-image: openanalytics/shinyproxy-demo
    container-network: sp-example-net

logging:
  file:
    shinyproxy.log

我的github分支:https://github.com/Tazovsky/shinyproxy-config-examples/tree/google-aouth-error-404/02-containerized-docker-engine

Google凭据设置:

enter image description here

要重现错误,请运行:

docker run --rm -d --name proxy-error -p 8081:8080 kfoltynski/shinyproxy-demo:google-aouth-error-404

有什么不起作用的主意吗?

0 个答案:

没有答案