Hi Guys I was wondering if someone could help me. I am attempting to setup a custom login page using spring security 4. The page loads just fine at /login, however when I click submit with the POST to the default processing url at /login , the login page simply loads again and the success handler is never called.
I have tried disabling csrf, or enabling it with <input type="hidden"
But the variables do not resolve to anything.
Can anyone help?
posted 3 years ago
False Alarm! I was Missing the .permitAll() after .loginPage("/login") which means that every time it did a post to login, the login page showed up!