Cross Origin Opener Policy problem: how to get SharedArrayBuffer working in Open edX Custom JS Display and Grading?

I’m facing an issue regarding cross-origin policy: some of my problems (Custom JS Display and Grading) require SharedArrayBuffer to work properly (e.g. Simple Python IDE “STEP” button functionality). To make it work, the following headers were added:

Cross-Origin-Opener-Policy: same-origin 
Cross-Origin-Embedder-Policy: require-corp

But now none of my demos is loaded, since the course’s page is and assets are stored at that are considered as different origins. I will appreciate any ideas/thoughts of what can be done to mitigate the problem.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.