microsoft / ApplicationInsights-JS

Microsoft Application Insights SDK for JavaScript
MIT License
649 stars 240 forks source link

Cross-Origin-Embedder-Policy support #1851

Open Sora2455 opened 2 years ago

Sora2455 commented 2 years ago

Is your feature request related to a problem? Please describe. When trying to set the Cross-Origin-Embedder-Policy header to "require-corp" on my site, requests to application insights (in particular https://australiaeast-0.in.applicationinsights.azure.com//v2/track) are blocked, as they do not have a Cross-Origin-Resource-Policy header.

Describe the solution you'd like The application insights endpoints to serve a Cross-Origin-Resource-Policy header of the value "cross-origin".

Describe alternatives you've considered If this was an image or script request, I could add the crossOrigin attribute to the or Githubissues.

  • Githubissues is a development platform for aggregating issues.