Any Known CORS issues with 2.20 build 16795

Hi Devs

Please advise. I’m migrating my web app to a remote server (previously it was running inside webapps folder on the same server as my dhis2 instance). I’ve configured my CORS whitelist correctly but i’m unable to access the APIs successfully. I’ve tried two methods:

image

Error: Response for preflight is invalid (redirect)

…and…

image

Error: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin is therefore not allowed access.

My CORS whitelist is loaded, i’ve tried specifying header “Content-Type”: ‘application/json’ for basic authentication but end up with the same results. Is this perhaps a known 2.20 bug? We’re running build 16795

Any advice will be highly appreciated…

Kind Regards,

Greg

···

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles