After login, it goes to the page. If I type in the url for a permitAll page, it displays correctly. I reverted back to the basic project from Start.vaadin.com.
My home page is AnonymousAllowed and a Videos page which is permitAll. From the home page, I click on the video button, it will redirect to the login page. After log in, it redirects me to the url above.
BTW, I’m using Vaadin 24
SecurityConfiguration.java
EnableWebSecurity
Configuration
public class SecurityConfiguration extends VaadinWebSecurity {
Bean
public PasswordEncoder passwordEncoder() {
return new BCryptPasswordEncoder();
}
That did it for me. So, I have had to fix this on two new projects. Should I submit an issue? This must be happening to everyone who tries to change the font on a new project created with the app creator.
In the past I had problems with serving fonts correctly. Mostly using css fonts by adding into the theme folder did work for Chrome but not for Firefox or Safari. Maybe I did something work is it fixed in the meanwhile.
With adding fonts to static context I had no problems across all browser.
What I normally do with my Vaadin (or Vue) projects, is: