Welcome! Log In Create A New Profile

Advanced

set reverse proxy for shiny app in nginx and set call back url

Posted by @bhowmik 
set reverse proxy for shiny app in nginx and set call back url
February 22, 2020 11:04AM
I need to authenticate shiny server using a third part single sign on.
For this, I have written the authentication part in node js and once I receive the authenticated user details, I am redirecting to the shiny app.
Nginx is used as the proxy server.
I have hosted the node js code in 8080, nginx in 443, and shiny server in 3838.
All three in the same server. In the positive scenario, it is working.
I am unable to implement the negative case scenario, so that whenever any unauthenticated user clicks the shiny app url, I want the user to be redirected to the sso login page which is hosted in 8080. I am getting the error of 302.
And also I have used auth_request , but same error 302.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready