How to enable CORS (Cross-origin resource sharing) ?

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content