I’m using ShinyProxy + Keytcloak as an API to start my applications and then embed them on my site in iframe. I see successfull reauthorization (i think these are reauithorizations because token is expired every 5 minutes).
2023-06-14 15:22:07.412 INFO 1 --- [ XNIO-1 task-2] e.o.c.a.i.oidc.OpenIdReAuthorizeFilter : ReAuthorize client registration: client_reg_id("shinyproxy"), client_id("************"), client_name("shinyproxy"), grant_type("authorization_code")
After some time I see this errors:
2023-06-16 11:26:09.672 ERROR 1 --- [ XNIO-1 task-5] io.undertow.request : UT005023: Exception handling request to /app_direct_i/****/*****/jquery-3.6.0/jquery.min.js.map
java.lang.NullPointerException: null
at eu.openanalytics.containerproxy.auth.impl.oidc.OpenIdReAuthorizeFilter.accessTokenExpired(OpenIdReAuthorizeFilter.java:142) ~[containerproxy-1.0.1.jar!/:1.0.1]
at eu.openanalytics.containerproxy.auth.impl.oidc.OpenIdReAuthorizeFilter.doFilterInternal(OpenIdReAuthorizeFilter.java:96) ~[containerproxy-1.0.1.jar!/:1.0.1]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar!/:5.3.24]
...