Typeform not loading because of cross-origin isolation.
See original GitHub issueDescription
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.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (1 by maintainers)
The change was approved by security, I will update you here when we add the header.
Hi @jeton-th, we’re going to close out this issue for the time being.
As you know, we’ve spoken internally about solving this and whilst we’ve tried to make headway, the solution is more complex than we’d initially thought.
We appreciate it’s something that would improve your implementation of an embed and we’ve logged the feedback so that we can continue to assess how to prioritize an improvement.