I have implemented Spring Security to my project, but I am getting status 405 when I try to log in. I have already added csrf token in the form.
csrf
form
I started getting the same thing when I added a successForwardUrl and found that the response on sucessful login is a POST to that endpoint or to "/" if not set. Once I enabled POST on the defined endpoint as well as GET all was fine.
successForwardUrl