First, thank you for your fantastic work on this.
I am running a single app using shinyproxy, with two users defined in application.yml using simple authentication.
The app runs perfectly when the first user logs in and starts the app. However, when the second user logs in and tries to start the app, the message “Not authorized to access this proxy” is displayed.
Note that it is the order that the users log on that matters, both users are able to start the app individually - as long as the other user is not logged in.
My understanding (and the main reason I looked into shinyproxy) is that a second instance of the app should be launched in this situation.
Does anyone have any idea of what could be wrong? I have followed the instructions without any deviations I can think of. My application.yml below.
Many thanks,
Anders
proxy:
title: Open Analytics Shiny Proxy
logo-url: http://www.openanalytics.eu/sites/www.openanalytics.eu/themes/oa/logo.png
landing-page: /
heartbeat-rate: 10000
heartbeat-timeout: 60000
port: 8080
hide-navbar: false
authentication: simple
admin-groups: scientists
# Example: 'simple' authentication configuration
users:
- name: user1
password: password
groups: scientists
- name: user2
password: password
groups: mathematicians
docker:
cert-path: /home/none
url: http://localhost:2375
port-range-start: 20000
specs:
- id: myapp
display-name: myapp
description: QC
container-cmd: ["R", "-e", "shiny::runApp('/root/myapp')"]
container-image: openanalytics/shinyproxy-myapp
access-groups: [scientists, mathematicians]
logging:
file:
shinyproxy.log