Auth0 Home Blog Docs

Shiny Auth0: can't access my shiny apps

Hi There,

I have an ubuntu server running shiny server + nginx.
I followed this tutorial to protect access to it by using Auth0.
Now, when I navigate to https://mydomain.io/ I get a login page, and when logging in I get the shiny server welcome page.
However, when I try to access any of my specific apps (https://mydomain.io/appname), I get a 404 Not Found error.

This is all that is printed in the screen:
Not Found
404
Error: Not Found
at /home/ubuntu/shiny-auth0/app.js:75:13
at Layer.handle [as handle_request] (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:317:13)
at /home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:335:12)
at next (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:275:10)
at urlencodedParser (/home/ubuntu/shiny-auth0/node_modules/body-parser/lib/types/urlencoded.js:91:7)
at Layer.handle [as handle_request] (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:317:13)
at /home/ubuntu/shiny-auth0/node_modules/express/lib/router/index.js:284:7

How can I solve this and access the apps?

Thanks!