Spring Security Configuration Causes ‘Too Many Redirects’ Error – How to Resolve?
I am applying spring boot security. When I open the browser in the current code, it redirects infinitely to “http://localhost:8080/login” and shows the error “localhost redirected you too many times.”.
Since formLogin() is deprecated, I used lambda expression.