# Different redirect URL for different client in same application

**URL:** <https://devforum.zoom.us/t/different-redirect-url-for-different-client-in-same-application/40941>\
**Category:** App Marketplace\
**Created:** [January 19, 2021, 7:19am UTC](https://devforum.zoom.us/t/different-redirect-url-for-different-client-in-same-application/40941 "2021-01-19T07:19:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshay.salekar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/akshay.salekar/32/17022_2.png) [@akshay.salekar](https://devforum.zoom.us/u/akshay.salekar)\
**Post date:** [January 19, 2021, 7:19am UTC](https://devforum.zoom.us/t/different-redirect-url-for-different-client-in-same-application/40941/1 "2021-01-19T07:19:20Z")

</div>

I have OAuth application of application level and there is one thing in which I want your help. So If I want to serve different clients with different domain urls do I need to create different zoom applications? Let say I have two clients , one with url [abcd.mywebsite.com](http://abcd.mywebsite.com/) and other as [xyz.mywebsite.com](http://xyz.mywebsite.com/) . If I am not mistaken our redirect url must match with the redirect url specified in market place application. So Is it possible in one app that I can specify different url or I must create different applications for different clients.

---

<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:** [January 20, 2021, 4:49pm UTC](https://devforum.zoom.us/t/different-redirect-url-for-different-client-in-same-application/40941/2 "2021-01-20T16:49:21Z")

</div>

Hey @akshay.salekar ,

Dynamic redirects are possible! 🙂 You can accomplish this with only one OAuth app. See the instructions here:

[https://marketplace.zoom.us/docs/guides/auth/oauth#using-multiple-environments](https://marketplace.zoom.us/docs/guides/auth/oauth#using-multiple-environments)

> [@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:** [February 20, 2021, 2:49am UTC](https://devforum.zoom.us/t/different-redirect-url-for-different-client-in-same-application/40941/3 "2021-02-20T02:49:25Z")

</div>

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