hey all, i always get 302 response code instead of JSON response (200 OK), when i try to login using angular as a front-end and spring boot JWT as a back-end, is there any plausible way to stop spring security from redirecting my http request, after a successful authentication, and btw i’m using angular 7 HttpClient to send Http Request to Spring boot.i’ve tried all solutions on the web, but unfortunately none of them is working !!!
login is working and authorization token is sent by the backend server Spring Boot “localhost:5454/login” along with a redirection status code 302.
here is angular (front-end) code: https://github.com/adilos-geekos/angular-jwt-projet
and Spring boot (back-end) code: https://github.com/adilos-geekos/spring-jwt-projet