CORS issue when connecting to RHPAM Process Server REST API

Solution Verified - Updated -

Issue

  • This URL from Process Server cannot be accessed via a client application that runs in different IP:PORT from Process Server, using REST API:
    http://localhost:8080/kie-server/services/rest/server

  • The following CORS error happens when trying to connect to Process Server REST API from a client application through rest call:

Failed to load http://localhost:8080/kie-server/services/rest/server: 
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost:3000' is therefore not allowed access

Environment

  • Red Hat Process Automation Manager (RHPAM)
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In