# OAuth - how to generate multiple publishable URL

**URL:** <https://devforum.zoom.us/t/oauth-how-to-generate-multiple-publishable-url/14111>\
**Category:** App Marketplace\
**Created:** [April 20, 2020, 6:36pm UTC](https://devforum.zoom.us/t/oauth-how-to-generate-multiple-publishable-url/14111 "2020-04-20T18:36:10Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [April 21, 2020, 5:54am UTC](https://devforum.zoom.us/t/oauth-how-to-generate-multiple-publishable-url/14111/4 "2020-04-21T05:54:55Z")

</div>

Hey @rjd,

You can accomplish this if you use the same base domain and use sub domains:

> [@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…

You can test your app on your on Zoom account, or, request a beta testing url on the “Submit” page in your app settings.

Thanks,  
Tommy

---

_[View the full topic](https://devforum.zoom.us/t/oauth-how-to-generate-multiple-publishable-url/14111)._
