# Zoom keeps auto-joining meetings

**URL:** <https://devforum.zoom.us/t/zoom-keeps-auto-joining-meetings/57469>\
**Category:** Web\
**Created:** [September 15, 2021, 8:07am UTC](https://devforum.zoom.us/t/zoom-keeps-auto-joining-meetings/57469 "2021-09-15T08:07:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Salaah](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@Salaah](https://devforum.zoom.us/u/Salaah)\
**Post date:** [September 15, 2021, 8:07am UTC](https://devforum.zoom.us/t/zoom-keeps-auto-joining-meetings/57469/1 "2021-09-15T08:07:46Z")

</div>

I have a technical issue with setting up the zoom web integration.

What should happen is when the user loads the page, the container where the user gets a preview of their own camera and has the option to mute their mic and hide their video before joining the meeting by clicking on “join meeting” should be shown. When they then click on “join meeting”, only then they should be connected to the meeting.

However, what happens in some instances is that when the user loads the page, they are automatically joined into the meeting, thus bypassing the previous step.

I’ve tested this in various browsers, each time clearing all cookies and other cached information, but this does not resolve the issue. This, eliminating the possibility of this being a browser-related issue.

When building, I have followed the following documentation: [https://marketplace.zoom.us/docs/sdk/native-sdks/web/build](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build).

The documentation offers two implementation paths, I followed option 1 (import module locally).

The only difference is that we have opted not to include the CSS files.

I have tried the following:

- Clearing all session data, cookies, local storage etc.
- Setting JS Lib to version 1.9.8 and an older version.
- Removing all other elements from the webpage (in case there are any JS conflicts).
- Including the CSS files that we have chosen to exclude.

None of the above has helped in resolving the issue where the initial option is bypassed.

I have tested this in Windows, iOS and mobile (android).

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [September 15, 2021, 7:44pm UTC](https://devforum.zoom.us/t/zoom-keeps-auto-joining-meetings/57469/2 "2021-09-15T19:44:11Z")

</div>

Hey @Salaah,

Thanks for using the dev forum!

Are you using the Zoom SDK’s or the Zoom applications?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![Salaah](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@Salaah](https://devforum.zoom.us/u/Salaah)\
**Post date:** [September 17, 2021, 8:26am UTC](https://devforum.zoom.us/t/zoom-keeps-auto-joining-meetings/57469/3 "2021-09-17T08:26:26Z")

</div>

Hi Michael,  
I am using the Zoom SDK.  
Using the web-based solution.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 21, 2021, 6:00pm UTC](https://devforum.zoom.us/t/zoom-keeps-auto-joining-meetings/57469/4 "2021-09-21T18:00:23Z")

</div>

Hey @Salaah ,

Can you please try setting `disablePreview: false` in your `ZoomMtg.init()` function object? 🙂

[https://marketplacefront.zoom.us/sdk/meeting/web/ZoomMtg.html#init](https://marketplacefront.zoom.us/sdk/meeting/web/ZoomMtg.html#init)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![Salaah](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@Salaah](https://devforum.zoom.us/u/Salaah)\
**Post date:** [September 23, 2021, 1:44pm UTC](https://devforum.zoom.us/t/zoom-keeps-auto-joining-meetings/57469/5 "2021-09-23T13:44:11Z")

</div>

Hi @tommy ,  
I’ve tried that but have had no luck. Still having the issue where the meeting auto-joins.

I have posted the integration code I am using below:

```auto
getSignature().then((signature: any) => {
  ZoomMtg.init({
    debug: true,
    leaveUrl: location.href,
    isSupportAV: true,
    disablePreview: false,

    success: () => {
      ZoomMtg.join({
        signature: signature.response.token,
        meetingNumber: meeting_id,
        userName: (<HTMLInputElement>document.getElementById('zoom-user-name')).value,
        apiKey: (<HTMLInputElement>document.getElementById('zoom-api-key')).value,
        userEmail: (<HTMLInputElement>document.getElementById('zoom-user-email')).value,
        passWord: (<HTMLInputElement>document.getElementById('zoom-meeting-password')).value,
        success: (success: any) => {
          console.log(success)
        },
        error: (error: any) => {
          console.log(error)
        }
      })
    },
    error: (res: any) => {
      console.log('FAILED INIT');
      console.log(res)
    }
  })
})

```

I’ve also cleared my cache, cookies, etc. Still no luck.

---

<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:** [September 24, 2021, 8:32pm UTC](https://devforum.zoom.us/t/zoom-keeps-auto-joining-meetings/57469/6 "2021-09-24T20:32:20Z")

</div>

Hey @Salaah,

Thanks for following up. Do you see this happen even when using the [Sample Web App](https://github.com/zoom/sample-app-web)? I would test that and use it as a reference.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![Salaah](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@Salaah](https://devforum.zoom.us/u/Salaah)\
**Post date:** [October 5, 2021, 3:53pm UTC](https://devforum.zoom.us/t/zoom-keeps-auto-joining-meetings/57469/7 "2021-10-05T15:53:58Z")

</div>

So we’ve found out what the issue was. Not sure if this is a bug, but we found it a bit odd.

Because we work on quite a few sites, we have a few URLs resolving localhost. So for example, project\_a.net, project\_b.net would all resolve localhost.

We discovered that when we are using say project\_1.net on port 8000, it would always have that issue but when we hopped over to localhost:8000 it seemed to be ok at times.

Whilst in development, we’re using HTTP, but when we connected via HTTPS it seemed to be working fine.

I don’t know if we got lucky, of we might have stumbled across some odd side effect.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 5, 2021, 9:46pm UTC](https://devforum.zoom.us/t/zoom-keeps-auto-joining-meetings/57469/8 "2021-10-05T21:46:37Z")

</div>

Hey @Salaah ,

Happy to hear you found what the issue was, thanks for sharing your findings. 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 5, 2021, 7:46am UTC](https://devforum.zoom.us/t/zoom-keeps-auto-joining-meetings/57469/9 "2021-11-05T07:46:53Z")

</div>

Closed on November 5, 2021, 7:46am UTC

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