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.
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.