Help with Authentication

I am following the tutorial in the docs for vaadin flow v24. I enabled Spring Security to enable login and everything works, but not how I want it to. Currently, the login page pops up whenever I open the website. is it possible to make it so it only pops up on views that don’t have @PermitAll ?

Did you add @AnonymousAllowed annotation on the public views?

That was missing, thanks