# Redirect URLs with Multiple Domains

**URL:** <https://devforum.zoom.us/t/redirect-urls-with-multiple-domains/25818>\
**Category:** App Marketplace\
**Created:** [July 31, 2020, 7:34am UTC](https://devforum.zoom.us/t/redirect-urls-with-multiple-domains/25818 "2020-07-31T07:34:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashok](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ashok/32/4407_2.png) [@Ashok](https://devforum.zoom.us/u/Ashok)\
**Post date:** [July 31, 2020, 7:34am UTC](https://devforum.zoom.us/t/redirect-urls-with-multiple-domains/25818/1 "2020-07-31T07:34:02Z")

</div>

**Description**  
We are currently implementing a Zoom Meetings integration and have created a Oauth user app. However, we have two servers on prod with [xyz.com](http://xyz.com) and xyz.in domains.

Can we whitelist these two domains in the redirect URLs for the app and pass the redirect URL dynamically in the oauth authorization url? The app as such allows us to configure only one redirect url for prod.

---

<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 3, 2020, 4:50pm UTC](https://devforum.zoom.us/t/redirect-urls-with-multiple-domains/25818/2 "2020-08-03T16:50:38Z")

</div>

Hey @Ashok,

Yes, please see my post here:

> [@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:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 13, 2020, 4:50pm UTC](https://devforum.zoom.us/t/redirect-urls-with-multiple-domains/25818/3 "2020-08-13T16:50:43Z")

</div>

Closed on August 13, 2020, 4:50pm UTC

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