login view in Firefox keeps refreshing

Hi,

I have created a login page that works fine in Edge and Chrome, but in Firefox it keeps refreshing as soon as i interact with the page (enter text, or tab to a different input field).

From the browser tools i see that the session is recreated upon each refresh. Is there something in Firefox that is more strict by default than other browsers what could be causing this ? Using latest Vaadin, Spring Boot and followed the instructions here https://vaadin.com/docs/latest/security/enabling-security

Clear service workers from browser (unregister) to be exact

You can try exporting an starter project from https://start.vaadin.com it should come with a login view by default, if you modify a single page view access.
image.png

FWIW this turned out to be an issue with the way spring-security was integrated. Always a fun day on the job when spring-security is involved :smile: