× Warning! This forum is in archival status. New contributions may not work.
My CORS problem with Superdesk/Publisher
  • I am seeing this error message on the chrome console, any suggestions what I should try to correct this:

    Access to XMLHttpRequest at 'HTTP://<publisher ip>/api/v1/auth/superdesk/' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'null' that is not equal to the supplied origin.

    I have tried the following settings of allow_origin_cors in parameters.yml -

    So far the best, but with above error
    2. *
    OPTIONS gets 500 response
    3. '*'
    POST operation gets 404
    4. ['*']
    POST operation get 404 and no access-control-allow-origin header not found

    Any help appreciated.

    Thanks

    Post edited by Shiv Haris at 2018-11-05 16:56:31