我无法使ShinyProxy与Google身份验证一起工作,因为登录后出现错误404:
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
Google凭据设置:
要重现错误,请运行:
docker run --rm -d --name proxy-error -p 8081:8080 kfoltynski/shinyproxy-demo:google-aouth-error-404
有什么不起作用的主意吗?