-
Notifications
You must be signed in to change notification settings - Fork 132
Description
Description
In a ReactJS application, I'm using a library that requires cross-origin isolation in order to use the SharedArrayBuffer
feature. These are the headers I need to add:
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
The problem
The embedded Typeform is not loading anymore:
This is the error from the network activity tab in developer tools related to the Typeform resource:
To use this resource from a different origin, the server needs to specify a cross-origin resource policy in the response headers:
Cross-Origin-Resource-Policy: same-site
Choose this option if the resource and the document are served from the same site.
Cross-Origin-Resource-Policy: cross-origin
Only choose this option if an arbitrary website including this resource does not impose a security risk.