Open rupeshsaxena opened 2 weeks ago
VaadinWebSecurity
is caching the request with SpringSecurity and upon successful login will redirect to location based on cached request. Which means that in normal circumstances redirect you are doing in your code is not required.
I tried as per the tutorial instructions on how to embed LoginForm in custom LoginView, despite all the configurations I set, but I am not able to redirect to the desired view , in my case it was serving on route => "home", instead it returns back to the login view.
My Security Config file -
My LoginView