When attempting to view packages. Developer -> Packages.
The request to load the packages is failing due to failing a CORS policy.
Access to XMLHttpRequest at 'https://our.umbraco.org/webapi/packages/v1' from origin 'https://localhost:8081' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
The issue is present across all of our environments.
I am unsure how to configure CORS to get around this.
Unable to view packages due to CORS policy
When attempting to view packages. Developer -> Packages.
The request to load the packages is failing due to failing a CORS policy.
The issue is present across all of our environments.
I am unsure how to configure CORS to get around this.
Hi Tom,
Check the web config. Have you got any strict security header in here. Maybe something similar to one of my client sites.
It might be worth checking you down have anything like this in there. Probably compare what headers are used with Umbraco out of the box.
I think it should look something like this by default.
Regards
David
Hi David,
Currently Web.config contains the following which appears to have been in place for a long time prior to the package browser stopping working.
is working on a reply...