Logout Redirect Issue in Helical Insight 6.0 (Browser vs AJAX Behavior)

Hello,

We are using open source BI Helical Insight version 6.1.0.694 GA (Docker version). Why does the logout behavior differ when accessing /logout directly from the browser versus when it is triggered through AJAX in JWT HTML, leading to inconsistent redirection after logout?

Thank You,
Netta.

Hello Netta,

This issue occurs because /logout behaves differently for browser requests and AJAX calls in JWT HTML. The browser redirects to /index, while AJAX does not handle the redirect properly. This happens due to the LogoutSuccessHandler in spring-security.xml being configured to /loginBody To fix this, change the redirect path to / and restart the application for consistent logout behavior.

spring-security.xml file path is /opt/Helical694_61GA/hi/hi-ee/WEB-INF/classes

Default config :

image

Updated config :

image

Restart Helical Insight and test the changes, it should work fine.

Thank You,
Helical Insight.