XWiki shows login page in annotation frame after login timout

We do integrate OIDC plugin on our XWiki and after login timout the request to open annotation on page shows logon page instead.

It is a little confusing.

Is there any way to redirect the “document page” or implement some other workaround to deal with it?

Hello,

I’m actually experiencing a similar issue with XWiki 17.10.2, but in my case, it specifically affects the menu and the footer (History, Attachments,etc.) After a session timeout, instead of being redirected to a login page or having the content display properly, these elements seem to trigger unexpected behavior, such as displaying an unintended login page.

If you find a solution or a workaround to handle this redirection after a timeout, I’d be very interested in hearing about it.

Best regards