# Integrating zoom in multi tenant application

**URL:** <https://devforum.zoom.us/t/integrating-zoom-in-multi-tenant-application/27377>\
**Category:** Web\
**Created:** [August 17, 2020, 1:44pm UTC](https://devforum.zoom.us/t/integrating-zoom-in-multi-tenant-application/27377 "2020-08-17T13:44:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nandish.y5](https://avatars.discourse-cdn.com/v4/letter/n/50afbb/32.png) [@nandish.y5](https://devforum.zoom.us/u/nandish.y5)\
**Post date:** [August 17, 2020, 1:44pm UTC](https://devforum.zoom.us/t/integrating-zoom-in-multi-tenant-application/27377/1 "2020-08-17T13:44:09Z")

</div>

Hi Guys,

I have a multi tenant app, where i need to validate/configure tenants zoom account and later create meetings for them (with there zoom account) and host meetings within my application.

Any help would be appreciated.

Also would like to know what plan i should purchase with zoom to accomplish this.

Regards,  
Nandish

---

<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:** [August 19, 2020, 3:45am UTC](https://devforum.zoom.us/t/integrating-zoom-in-multi-tenant-application/27377/2 "2020-08-19T03:45:53Z")

</div>

Hey @nandish.y5,

You can use [OAuth to have Zoom users connect their Zoom accounts to your app](https://marketplace.zoom.us/docs/guides/auth/oauth), and then [create meetings](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate) on their behalf.

Then you can use the [Web SDK](https://marketplace.zoom.us/docs/sdk/native-sdks/web) to have users join the meetings within your web app.

Due note, currently the Web SDK can only **start** meetings owned by the same account as the JWT App. But it can be used to **join** any meeting.

As for pricing, if the endpoint requires a paid plan it will mention it on the respective endpoint page. The Web SDK does require a [Pro Plan](https://zoom.us/pricing) to use however.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nandish.y5](https://avatars.discourse-cdn.com/v4/letter/n/50afbb/32.png) [@nandish.y5](https://devforum.zoom.us/u/nandish.y5)\
**Post date:** [August 19, 2020, 3:51am UTC](https://devforum.zoom.us/t/integrating-zoom-in-multi-tenant-application/27377/3 "2020-08-19T03:51:04Z")

</div>

Hi Tommy,

Thanks for quick response…

While implementing OAUTH, I found that

1. Authorization code changes every time for same user  
I would need user to give permissions once, and then use his account without navigating to authorization page every time.

2. Will OAuth take care requests coming from different domains, I mean if tenant1 configured his account with OAUTH app1, then for tenant2 with same OAUTH app1 it should ask to give permissions.

Regards,  
Nandish

---

<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:** [August 19, 2020, 7:53pm UTC](https://devforum.zoom.us/t/integrating-zoom-in-multi-tenant-application/27377/4 "2020-08-19T19:53:43Z")

</div>

Hey @nandish.y5,

> [@nandish.y5](#):
>
> Authorization code changes every time for same user  
> I would need user to give permissions once, and then use his account without navigating to authorization page every time.

The best way to handle this is to authorize once, and then use the [refresh tokens](https://marketplace.zoom.us/docs/guides/auth/oauth#refreshing).

> [@nandish.y5](#):
>
> Will OAuth take care requests coming from different domains, I mean if tenant1 configured his account with OAUTH app1, then for tenant2 with same OAUTH app1 it should ask to give permissions.

Not sure what you mean by this? Are you referring to multiple sub domains for OAuth?

> [@Does zoom support more than two environments for oauth2?](https://devforum.zoom.us/t/does-zoom-support-more-than-two-environments-for-oauth2/11052/12):
>
> Hey @tuancode, @michael.solomon, This is totally possible! slight_smile Let me walk you through how to do this with the base domain of example.com For your whitelist, simply add your base domain: https://example.com Then in your dev/prod redirect url field, add a default redirect, https://any.example.com (this will be programmatically overridden to the correct sub domain, continue reading below) Now, with your install URL ([the url mentioned in Step 1. of the OAuth guide](https://marketplace.zoom.us/docs/guides/auth/oauth#getting-access-token)) in your code, dyna…

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nandish.y5](https://avatars.discourse-cdn.com/v4/letter/n/50afbb/32.png) [@nandish.y5](https://devforum.zoom.us/u/nandish.y5)\
**Post date:** [August 20, 2020, 4:09am UTC](https://devforum.zoom.us/t/integrating-zoom-in-multi-tenant-application/27377/5 "2020-08-20T04:09:33Z")

</div>

Hi Tommy,

Thanks for quick response…

Regards,  
Nandish

---

<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:** [August 20, 2020, 5:21pm UTC](https://devforum.zoom.us/t/integrating-zoom-in-multi-tenant-application/27377/6 "2020-08-20T17:21:51Z")

</div>

Happy to help! 🙂

Thanks,  
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:** [September 20, 2020, 3:22am UTC](https://devforum.zoom.us/t/integrating-zoom-in-multi-tenant-application/27377/7 "2020-09-20T03:22:12Z")

</div>

Closed on September 20, 2020, 3:22am UTC

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