OIDC Automatic Refresh Token

Hello,

I am currently facing an issue with my Hue application. My team and I have implemented OIDC authentication into the application, but are a bit confused about how Hue handles the OIDC refresh token process.

We noticed the OIDC_RENEW_ID_TOKEN_EXPIRY_SECONDS parameter that sets the oidc token expiration as seen below.

However, we noticed after this token expires, Hue goes into an internal error when trying to refresh the page. Does anyone have any general guidance on refreshing the token after the expiration? Or of a way that automatically logs the user out when the oidc token expires.

Thanks,
Tom

OIDC was introduced 2 years ago: https://github.com/cloudera/hue/commit/d1801c9e0491666d0878a24d8d84a7e79b85bacf

Not sure about the refresh, what is the error trace? (it might need a code change to improve)