Hi, I am trying to use LoginOverlay and this is the first time I'm gonna u

Hi,
I am trying to use LoginOverlay and this is the first time I’m gonna use this component. Can you help me how to use this using spring security 5? I tried to use the above but then I am getting this error “org.springframework.security.authentication.InternalAuthenticationServiceException: null Caused by: java.lang.NullPointerException: null at com.template.acts.spring.security.UserDetailsServiceImpl.loadUserByUsername(UserDetailsServiceImpl.java:58)” which when I check the parameter “username” set on my loadUserbyUsername is empty. This happens during the submit. Would appreciate your help as I am still new in Vaadin. Thanks!

what version of Vaadin are you using?
have you checked how it’s done in the [full stack starter with Vaadin 13 beta]
(https://vaadin.com/start/pre-release/full-stack-spring)?