# Customizing Zoom Web SDK( waiting Room, Custom Authentication and Authorization, kicking Unauthorized users

**URL:** <https://devforum.zoom.us/t/customizing-zoom-web-sdk-waiting-room-custom-authentication-and-authorization-kicking-unauthorized-users/44247>\
**Category:** Web\
**Created:** [February 25, 2021, 8:42am UTC](https://devforum.zoom.us/t/customizing-zoom-web-sdk-waiting-room-custom-authentication-and-authorization-kicking-unauthorized-users/44247 "2021-02-25T08:42:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ans](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@ans](https://devforum.zoom.us/u/ans)\
**Post date:** [February 25, 2021, 8:42am UTC](https://devforum.zoom.us/t/customizing-zoom-web-sdk-waiting-room-custom-authentication-and-authorization-kicking-unauthorized-users/44247/1 "2021-02-25T08:42:59Z")

</div>

**Description**  
Hello Support,  
i am new to Zoom Dev Forum and Zoom Development. initially i was having problem of integrating the zoom with react dashboard but somehow i did it 🙂  
now i am able to start a meeting from admin side. but i want some automation features to embed in the zoom, please let me know if they are available as i cant find it. and if not, then will these features be available?

1. Only host can start meeting and Waiting room must be enabled so that no one can simply join.
2. In waiting room, i want to authenticate/authorize user from my db can join
3. Password and meeting credentials cannot be shared by users. only Host can see the meeting information (including meeting ID and password)
4. Kick unauthorized user from waiting room and allow the authentic and authorized users.
5. Email is must for user too and if user from one email has joined then same user cannot join meeting

**Error**  
Error i am facing is that when there are so many user is zoom, they can share credentials and unauthorized user also join and it is very difficult for the team to check the unauthorized users.  
My company is working on daily basis and we need this in a broad environment of teaching students and it is very difficult for us to manually manage this.

**Which Client Web SDK version?**  
i am using the 1.9.0 SDK version

**Device (please complete the following information):**

- Browser: chrome and Firefox

Some of the other Developer have also requested these:

1. [# [Waiting Room Customizine](https://devforum.zoom.us/t/waiting-room-customizine/27423)]
2. [# [Zoom Rooms, API control for Waiting Room](https://devforum.zoom.us/t/zoom-rooms-api-control-for-waiting-room/30355)]

---

<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:** [February 26, 2021, 9:45pm UTC](https://devforum.zoom.us/t/customizing-zoom-web-sdk-waiting-room-custom-authentication-and-authorization-kicking-unauthorized-users/44247/2 "2021-02-26T21:45:53Z")

</div>

Hey @ans ,

Thanks for posting and using Zoom! 🙂

> [@ans](#):
>
> Only host can start meeting and Waiting room must be enabled so that no one can simply join.

You can enable these in your Zoom settings: [https://zoom.us/profile/setting](https://zoom.us/profile/setting)

> [@ans](#):
>
> In waiting room, i want to authenticate/authorize user from my db can join

Can you compare the user that is trying to join the Web SDK with the users you have in your DB?

> [@ans](#):
>
> Password and meeting credentials cannot be shared by users. only Host can see the meeting information (including meeting ID and password)

You can hide this, example here:

> [@Web SDK Hide meeting information](https://devforum.zoom.us/t/web-sdk-hide-meeting-information/22468/2):
>
> Hey @farid321, You can hide the meeting information by not including the respective meeting info in the meetingInfo array in the ZoomMtg.init({}) function with the new 1.7.9 version: [https://zoom.github.io/sample-app-web/ZoomMtg.html#init](https://zoom.github.io/sample-app-web/ZoomMtg.html#init) ZoomMtg.init({ debug: true, leaveUrl: 'http://www.zoom.us', isSupportAV: true, meetingInfo: ['topic', 'host',] }); Don’t include pwd or mn. Thanks, Tommy

> [@ans](#):
>
> Kick unauthorized user from waiting room and allow the authentic and authorized users.

> **[expel(params) - ZoomMtg - Documentation](https://marketplacefront.zoom.us/sdk/meeting/web/ZoomMtg.html#expel)**
>
> This is zoom WebSDK for web.

> [@ans](#):
>
> 1. Email is must for user too and if user from one email has joined then same user cannot join meeting

You can utilize the userEmail field for this:

> **[join(params) - ZoomMtg - Documentation](https://marketplacefront.zoom.us/sdk/meeting/web/ZoomMtg.html#join)**
>
> This is zoom WebSDK for web.

> [@ans](#):
>
> Some of the other Developer have also requested these:
> 
> 1. [# [Waiting Room Customizine](https://devforum.zoom.us/t/waiting-room-customizine/27423)]
> 2. [# [Zoom Rooms, API control for Waiting Room](https://devforum.zoom.us/t/zoom-rooms-api-control-for-waiting-room/30355)]

Breakout Room APIs are on our roadmap. 🙂

Let me know if that helps, or if you need further instruction.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ans](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@ans](https://devforum.zoom.us/u/ans)\
**Post date:** [March 3, 2021, 6:11am UTC](https://devforum.zoom.us/t/customizing-zoom-web-sdk-waiting-room-custom-authentication-and-authorization-kicking-unauthorized-users/44247/3 "2021-03-03T06:11:06Z")

</div>

Thanks Tommy 🙂  
i have enabled Waiting Room, i have hide the Password and Meeting credentials etc.  
for Waiting Room Authorization, i can compare the user from DB and but how can i get the userid in waiting room in order to allow/kick the user?  
i have seen the hook is available where i can do this (MAY BE): ZoomMtg.inMeetingServiceListener(‘onUserIsInWaitingRoom’) but i need the userid in order to kick the unauthorize user directly from Waiting Room.

can you help me out in this?

---

<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:** [March 3, 2021, 11:37pm UTC](https://devforum.zoom.us/t/customizing-zoom-web-sdk-waiting-room-custom-authentication-and-authorization-kicking-unauthorized-users/44247/4 "2021-03-03T23:37:18Z")

</div>

Hey @ans,

Thank you for your question, I’m happy to help out! In the callback for the event, you can use the `data` parameter in order to retrieve information about the user that is in the waiting room. We have an example of this is our [Sample Web App](https://github.com/zoom/sample-app-web):

> <https://github.com/zoom/sample-app-web/blob/0dcfd8c9be2d2a1cc9f6127f781a776bb06b2495/Local/js/meeting.js#L89-L91>

I hope that helps! Let me know if you have any questions.

Thanks,  
Max

---

<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:** [April 3, 2021, 9:38am UTC](https://devforum.zoom.us/t/customizing-zoom-web-sdk-waiting-room-custom-authentication-and-authorization-kicking-unauthorized-users/44247/5 "2021-04-03T09:38:15Z")

</div>

Closed on April 3, 2021, 9:38am UTC

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