# How we use zoom app for our whitelabels

**URL:** <https://devforum.zoom.us/t/how-we-use-zoom-app-for-our-whitelabels/9643>\
**Category:** App Marketplace\
**Tags:** dc\
**Created:** [March 25, 2020, 7:41pm UTC](https://devforum.zoom.us/t/how-we-use-zoom-app-for-our-whitelabels/9643 "2020-03-25T19:41:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![waseem.ghafoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/waseem.ghafoor/32/4159_2.png) [@waseem.ghafoor](https://devforum.zoom.us/u/waseem.ghafoor)\
**Post date:** [March 25, 2020, 7:41pm UTC](https://devforum.zoom.us/t/how-we-use-zoom-app-for-our-whitelabels/9643/1 "2020-03-25T19:41:24Z")

</div>

Hi, I created an app on zoom marketplace and working fine.  
We also provide whitelabels, means some other business can use our system with their names.  
Now thing is i need to enabled zoom integration for whitelabels as well which deployed on other server and other domain is pointing to that server.  
Now i need to achieve  
When someone authorize from that server zoom send response to that server specifically, not our main server.

I read about whitelist url. if i added whitelabel domain there and call. Zoom says invalid redirect url.

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/0/00687a5f981b056fd8589334559e909725fc3a09.png)

Our app is BOOKAFY

I followed this documentation.  
[https://marketplace.zoom.us/develop/apps/chALMtwBStSQDgqSsoMqRQ/credentials](https://marketplace.zoom.us/develop/apps/chALMtwBStSQDgqSsoMqRQ/credentials)

---

<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:** [March 25, 2020, 10:18pm UTC](https://devforum.zoom.us/t/how-we-use-zoom-app-for-our-whitelabels/9643/2 "2020-03-25T22:18:36Z")

</div>

Hey @waseem.ghafoor,

You should be able to add multiple sub domains to the whitelist section as long as they all have the same base domain, and then redirect to any of those by [passing in the respective redirect url](https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom#step-1-request-user-authorization).

Let me know if that helps!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![waseem.ghafoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/waseem.ghafoor/32/4159_2.png) [@waseem.ghafoor](https://devforum.zoom.us/u/waseem.ghafoor)\
**Post date:** [March 26, 2020, 6:44am UTC](https://devforum.zoom.us/t/how-we-use-zoom-app-for-our-whitelabels/9643/3 "2020-03-26T06:44:05Z")

</div>

Thanks @tommy for your help.

(I did this because i wasn’t allowed to use more than 2 links)

- BOOKAFY\_REDIRECT\_URL -\> ( httpss://app).bookafy.com/zoom/get\_authorize

- WHITELABEL\_REDIRECT\_URL -\> ( httpss://app ).advisorbookings.com/zoom/get\_authorize

- BOOKAFY\_URL -\> app…bookafy…com

- WHITELABEL\_URL -\> app…[advisorbookings.]com

- BOOKAFY\_AUTHORIZE\_REQUEST\_LINK -\> [https://zoom.us/oauth/authorize?response\_type=code&client\_id=Pj\_client\_secret\_key&redirect\_uri=BOOKAFY\_REDIRECT\_URL](https://zoom.us/oauth/authorize?response_type=code&client_id=Pj_client_secret_key&redirect_uri=WHITELABEL_REDIRECT_URL)

- WHITELABEL\_AUTHORIZE\_REQUEST\_LINK -\> [https://zoom.us/oauth/authorize?response\_type=code&client\_id=Pj\_client\_secret\_key&redirect\_uri=WHITELABEL\_REDIRECT\_URL](https://zoom.us/oauth/authorize?response_type=code&client_id=Pj_client_secret_key&redirect_uri=WHITELABEL_REDIRECT_URL)

Let me explain more.

1- BOOKAFY\_URL is our app url, it is working fine.

2- Now i need to achieve OAuth functionality for our whitelabels.

3- WHITELABEL\_URL is our whitelabel and is using our system in the backend on different server.

4- BOOKAFY\_REDIRECT\_URL is our Redirect URL for OAuth.

5- Now i need to achieve, if someone request from WHITELABEL\_URL to authorize zoom, zoom should redirect to WHITELABEL\_REDIRECT\_URL

6- We have 30+ such type of whitelabels.

7- We integrated many systems where we asked to save our particular redirect URLs of servers and then they send response to that URL of respect servers.

Actually happening.

If i added WHITELABEL\_REDIRECT\_URL in whitelist and trying to authorize user using this link

WHITELABEL\_AUTHORIZE\_REQUEST\_LINK

We got invalid redirect url error message.

Expected result:

i added WHITELABEL\_REDIRECT\_URL in whitelist url.

If user try to authorize by using this

WHITELABEL\_AUTHORIZE\_REQUEST\_LINK

zoom should allow to authorize the user (currently we are getting invalid redirect url) and send response on WHITELABEL\_REDIRECT\_URL

Please suggest what i can do to achieve this result.

Thanks,

Waseem Ghafoor

---

<div class="post-metadata">

**Author:** ![waseem.ghafoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/waseem.ghafoor/32/4159_2.png) [@waseem.ghafoor](https://devforum.zoom.us/u/waseem.ghafoor)\
**Post date:** [March 26, 2020, 6:49am UTC](https://devforum.zoom.us/t/how-we-use-zoom-app-for-our-whitelabels/9643/4 "2020-03-26T06:49:51Z")

</div>

Thanks @tommy for your help.

(I did this because i wasn’t allowed to use more than 2 links)

- BOOKAFY\_REDIRECT\_URL -\> httpss://app.bookafy.com/zoom/get\_authorize

- WHITELABEL\_REDIRECT\_URL -\> httpss://app.advisorbookings.com/zoom/get\_authorize

- BOOKAFY\_URL -\> app…bookafy…com

- WHITELABEL\_URL -\> app…advisorbookings…com

- BOOKAFY\_AUTHORIZE\_REQUEST\_LINK -\> [https://zoom.us/oauth/authorize?response\_type=code&client\_id=Pj\_client\_secret\_key&redirect\_uri=BOOKAFY\_REDIRECT\_URL](https://zoom.us/oauth/authorize?response_type=code&client_id=Pj_client_secret_key&redirect_uri=WHITELABEL_REDIRECT_URL)

- WHITELABEL\_AUTHORIZE\_REQUEST\_LINK -\> [https://zoom.us/oauth/authorize?response\_type=code&client\_id=Pj\_client\_secret\_key&redirect\_uri=WHITELABEL\_REDIRECT\_URL](https://zoom.us/oauth/authorize?response_type=code&client_id=Pj_client_secret_key&redirect_uri=WHITELABEL_REDIRECT_URL)

Let me explain more.

1- BOOKAFY\_URL is our app url, it is working fine.

2- Now i need to achieve OAuth functionality for our whitelabels.

3- WHITELABEL\_URL is our whitelabel and is using our system in the backend on different server.

4- BOOKAFY\_REDIRECT\_URL is our Redirect URL for OAuth.

5- Now i need to achieve, if someone request from WHITELABEL\_URL to authorize zoom, zoom should redirect to WHITELABEL\_REDIRECT\_URL

6- We have 30+ such type of whitelabels.

7- We integrated many systems where we asked to save our particular redirect URLs of servers and then they send response to that URL of respect servers.

Actually happening.

If i added WHITELABEL\_REDIRECT\_URL in whitelist and trying to authorize user using this link

WHITELABEL\_AUTHORIZE\_REQUEST\_LINK

We got invalid redirect url error message.

Expected result:

i added WHITELABEL\_REDIRECT\_URL in whitelist url.

If user try to authorize by using this

WHITELABEL\_AUTHORIZE\_REQUEST\_LINK

zoom should allow to authorize the user (currently we are getting invalid redirect url) and send response on WHITELABEL\_REDIRECT\_URL

Please suggest what i can do to achieve this result.

Thanks,

Waseem Ghafoor

---

<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:** [May 12, 2021, 3:47pm UTC](https://devforum.zoom.us/t/how-we-use-zoom-app-for-our-whitelabels/9643/5 "2021-05-12T15:47:56Z")

</div>

Hey @waseem.ghafoor ,

Checkout this doc for dynamic whitelist urls:

> **[OAuth 2.0 - Authorization - Documentation](https://marketplace.zoom.us/docs/guides/auth/oauth#using-multiple-environments)**
>
> OAuth with Zoom
> 
> The Zoom API uses OAuth 2.0 to authenticate and authorize users to make requests. To set up access credentials and request scopes for y...

Thanks,  
Tommy
