0 Replies Latest reply on Feb 25, 2018 12:26 PM by Pradeep V

    No 'Access-Control-Allow-Origin'

    Pradeep V Newbie

      Hello Champs


      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 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.


      Appreciate help.