# With cross-origin isolation, Unable to join a webinar via registration popup

**URL:** <https://devforum.zoom.us/t/with-cross-origin-isolation-unable-to-join-a-webinar-via-registration-popup/52438>\
**Category:** Web\
**Created:** [June 15, 2021, 1:20am UTC](https://devforum.zoom.us/t/with-cross-origin-isolation-unable-to-join-a-webinar-via-registration-popup/52438 "2021-06-15T01:20:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkai](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@kkai](https://devforum.zoom.us/u/kkai)\
**Post date:** [June 15, 2021, 1:20am UTC](https://devforum.zoom.us/t/with-cross-origin-isolation-unable-to-join-a-webinar-via-registration-popup/52438/1 "2021-06-15T01:20:45Z")

</div>

**Description**  
(1) Our server returns the following headers:

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

(2) A guest tries to join a webinar from our website (with WebSDK)

(3) A registration popup ( [Error - Zoom](https://zoom.us/webinar/register/)… ) opens.

(4) The guest fills required fields, and click ‘Join’ button.

**Error**  
Nothing happens.

**Which Web Client SDK version?**  
1.9.6 (not CDN)

**Additional context**  
The popup window cannot run “postMessage” to communicate with main window.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 16, 2021, 1:25am UTC](https://devforum.zoom.us/t/with-cross-origin-isolation-unable-to-join-a-webinar-via-registration-popup/52438/2 "2021-06-16T01:25:22Z")

</div>

Hey @kkai,

Thank you for reaching out to the Zoom Developer Forum. Please share any errors that you see in the browser console and I’ll use that to investigate further.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![kkai](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@kkai](https://devforum.zoom.us/u/kkai)\
**Post date:** [June 16, 2021, 2:48am UTC](https://devforum.zoom.us/t/with-cross-origin-isolation-unable-to-join-a-webinar-via-registration-popup/52438/3 "2021-06-16T02:48:07Z")

</div>

@MaxM This is the error I saw.

 ![zmer](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/9/d9cbaf8eddda78d2d8e6b8c1445c975974028c0c.png)

```auto
Uncaught TypeError: Cannot read property 'postMessage' of null
    at s (register.min.js:1)
    at success (register.min.js:1)
    at success (all.min.js:29)
    at Object.success (all.min.js:29)
    at c (all.min.js:2)
    at Object.fireWith [as resolveWith] (all.min.js:2)
    at l (all.min.js:2)
    at XMLHttpRequest.<anonymous> (all.min.js:2)

```

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 17, 2021, 1:26am UTC](https://devforum.zoom.us/t/with-cross-origin-isolation-unable-to-join-a-webinar-via-registration-popup/52438/4 "2021-06-17T01:26:41Z")

</div>

Hey @kkai,

Thanks for clarifying, does this only happen when you use these headers:

> [@kkai](#):
>
> - Cross-Origin-Embedder-Policy: require-corp
> - Cross-Origin-Opener-Policy: same-origin

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![kkai](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@kkai](https://devforum.zoom.us/u/kkai)\
**Post date:** [June 17, 2021, 1:29am UTC](https://devforum.zoom.us/t/with-cross-origin-isolation-unable-to-join-a-webinar-via-registration-popup/52438/5 "2021-06-17T01:29:23Z")

</div>

@MaxM Yes. No problem happens if our server doesn’t use the headers.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 18, 2021, 5:55am UTC](https://devforum.zoom.us/t/with-cross-origin-isolation-unable-to-join-a-webinar-via-registration-popup/52438/6 "2021-06-18T05:55:38Z")

</div>

Hey @kkai,

Thanks for confirming. I’ve reached out to an internal resource to learn more about what’s going on here. I’ll let you know when hear back from them. (ZOOM-284920)

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 24, 2021, 2:37am UTC](https://devforum.zoom.us/t/with-cross-origin-isolation-unable-to-join-a-webinar-via-registration-popup/52438/7 "2021-06-24T02:37:06Z")

</div>

Hey @kkai,

Thank you for your patience. It looks like this happening because the implementation is missing a helper file that allows the registration flow to work between the two origins.

First, you can copy the content of this file:

> <https://github.com/zoom/sample-app-web/blob/master/CDN/helper.html>

and reference it in the `init()` function:

```auto
ZoomMtg.init({
      disableCORP: !window.crossOriginIsolated, // default true
      helper: './helper.html'
      });

```

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![kkai](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@kkai](https://devforum.zoom.us/u/kkai)\
**Post date:** [June 24, 2021, 3:19am UTC](https://devforum.zoom.us/t/with-cross-origin-isolation-unable-to-join-a-webinar-via-registration-popup/52438/8 "2021-06-24T03:19:36Z")

</div>

@MaxM It solved by your solution!!! Thank you for your support.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 25, 2021, 12:30am UTC](https://devforum.zoom.us/t/with-cross-origin-isolation-unable-to-join-a-webinar-via-registration-popup/52438/9 "2021-06-25T00:30:53Z")

</div>

Awesome! I’m glad that helped. I’ll go ahead and close this topic now but feel free to open a new topic if you encounter any further issues or questions.

Max

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 25, 2021, 12:31am UTC](https://devforum.zoom.us/t/with-cross-origin-isolation-unable-to-join-a-webinar-via-registration-popup/52438/10 "2021-06-25T00:31:10Z")

</div>

Closed on June 25, 2021, 12:31am UTC


