I have a Spting boot app 2.4.2. I seted up java secuity login form with no problems.
Now I want to my AJAX request to get an error instead of a redirection if the session