Need help on No 'Access-Control-Allow-Origin' issue. We are using Angular JS as front end, Rest API in Java, keycloak (Identity management) and wildfly to deploy code. Application is getting launched after login, it giving error of
Failed to load http://127.0.10.1:8080/rest/api/users/search: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 405.
Not sure which file need to get updated to allow this.
Any pointers will help.
Retrieving data ...