shinyproxy icon indicating copy to clipboard operation
shinyproxy copied to clipboard

Shinyproxy+Okta: 400 Bad request due to redirect URL

Open paritosh-aigora opened this issue 3 years ago • 2 comments

I am trying to link shinyproxy to okta. But I am not able to. Given below are some details. All help is appreciated!

Here is the application file: --------Application.yml----------------- proxy: title: Open Analytics Shiny Proxy logo-url: https://www.openanalytics.eu/shinyproxy/logo.png landing-page: / heartbeat-rate: 10000 heartbeat-timeout: 60000 port: 8080 authentication: openid

openid: auth-url: *** token-url: *** jwks-url: *** client-id: *** client-secret: ***

docker: cert-path: /home/none url: http://localhost:2375 port-range-start: 20000 specs:

  • id: 01_hello display-name: Hello Application description: Application which demonstrates the basics of a Shiny app container-cmd: ["R", "-e", "shinyproxy::run_01_hello()"] container-image: openanalytics/shinyproxy-demo logging: file: name: shinyproxy.log

----------Shinyproxy.log---------------------- 2022-04-27 14:29:31.107 INFO 13154 --- [XNIO-1 task-1] io.undertow.servlet : Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-04-27 14:29:31.112 INFO 13154 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2022-04-27 14:29:31.114 INFO 13154 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms 2022-04-27 14:29:31.166 ERROR 13154 --- [XNIO-1 task-1] e.o.c.a.i.OpenIDAuthenticationBackend : org.springframework.security.oauth2.core.OAuth2AuthenticationException: [invalid_request] 2022-04-27 14:54:58.831 ERROR 13154 --- [XNIO-1 task-1] e.o.c.a.i.OpenIDAuthenticationBackend : org.springframework.security.oauth2.core.OAuth2AuthenticationException: [invalid_request]

Attached is a screenshot of what I see when I try to access the app: shinyproxy-error-image

paritosh-aigora avatar Apr 27 '22 15:04 paritosh-aigora

Hi

Are you still having this issue? We have good experience with connecting ShinyProxy and Okta, so it should be possible. Can you post the full stack trace of the error? This is more a generic error, so I cannot provide a lot of help without the full stack trace.

LEDfan avatar Aug 08 '22 13:08 LEDfan

Hi, without the additional information we will not be able to help you. Can you please post the full stack trace if you are still experiencing this issue?

LEDfan avatar May 07 '24 13:05 LEDfan