How to enable CORS (Cross-origin resource sharing) ?
Issue
-
How to enable CORS (Cross-origin resource sharing )?
-
While accessing the Red Hat Satellite APIs which are being consumed by the third party web application, following error is encountered:
No 'Access-Control-Allow-Origin' header is present on the requested resource, Origin 'null' is therefore not allowed access.
Environment
- Red Hat Satellite 6.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.