Angular 2 Spring Boot Login CORS Problems
First thing you need to understand Cors configuration is added in the backend. You do not need to send cors header with each request from Angular2 App. Understanding that, this problem is easily fixed by adding global CORS configuration in your spring security configuration class. First you need to create a filter bean : @Component … Read more