I am trying to set up OIDC authentication for my shinyproxy instance using Auth0 & NGINX over SSL. The application works when authentication is set to none. When setting authentication to Auth0 however Spring appears to encounter an error and then go into an infinite loop.
My application.yml file is as follows :
title: Open Analytics Shiny Proxy
- id: red_app
container-cmd: [“R”, “-e”, “shiny::runApp(’/srv/shinydockerimage’)”]
My Nginx conf file is the exact same as instructed on the shinyproxy website
Here is an extract from the shinyproxy log when the loop happens :
– [ XNIO-2 task-4] o.s.s.authentication.ProviderManager : Authentication attempt using org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationProvider
2019-02-20 12:06:19.558 DEBUG 22867 — [ XNIO-2 task-4] o.s.s.authentication.ProviderManager : Authentication attempt using org.springframework.security.oauth2.client.oidc.authentication.OidcAuthorizationCodeAuthenticationProvider
Before that the log indicates an error is occuring : " [authorization request _not_found]"
I have set the callback URL within the Auth0 portal accordingly to instructions and I’ve also populated the YAML file for Auth0 accordingly to instructions. I’ve also set my NGINX conf file accordingly to instructiuons.
Thanks in advance for your help.