andrewm-aero opened a new issue #12183:
URL: https://github.com/apache/druid/issues/12183


   ### Affected Version
   
   v0.22.0
   
   ### Description
   
   The pac4j extension does not gracefully handle login expirations in the 
unified console. The first request to the unified console HTML endpoint 
correctly redirects to the OIDC login page, which then correctly redirects back 
to the console. The plugin seems to assume that the original token will always 
work, and if it doesn't, will get into a loop of attempting a background 
request (e.g. /druid/v2/sql), which fails due to CORS, instead of redirecting 
the user to the login page. This breaks the functionality of the console, and 
can only be fixed by manually refreshing the page. This behavior is not 
observed with any other application we have connected to this same OIDC provide 
with identical configurations.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to