Spring Security logout triggers timeout

We’re upgrading our applications from Vaadin 14 to Vaadin 24 and in one of the applications we have a problem that when logging out of the application in Chrome redirects the user to the timeout page but on Firefox it’s working.

This happens on one of our applications but not on the other. I am struggling to find out why and need some troubleshooting tips.

Found this but don’t know if it’s related: https://github.com/vaadin/flow/issues/7323

No one else who’s run into this?