# Using Multiple Environments for the same user

**URL:** <https://devforum.zoom.us/t/using-multiple-environments-for-the-same-user/31279>\
**Category:** API and Webhooks\
**Created:** [September 25, 2020, 8:06am UTC](https://devforum.zoom.us/t/using-multiple-environments-for-the-same-user/31279 "2020-09-25T08:06:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 28, 2020, 4:41pm UTC](https://devforum.zoom.us/t/using-multiple-environments-for-the-same-user/31279/2 "2020-09-28T16:41:46Z")

</div>

Hi @workgena,

If you’re using 1 Oauth App, you’ll need to redirect to the respective environment by whitelisting your environment domain names—can you confirm you’ve whitelisted these in your app? Due note that the Redirect URL and whitelist URLs need to have the same base domain. So you should add a sub domain redirect for each environment.

You might also find this thread helpful:

> [@Does zoom support more than two environments for oauth2?](https://devforum.zoom.us/t/does-zoom-support-more-than-two-environments-for-oauth2/11052):
>
> Description Currently, I can enter only two redirect URIs one for development and one for production. Our application has three environments: development, staging, and production. Should I redirect staging users to the development URI after the authorize request? Or maybe create one zoom app for my development environment and one zoom app for staging and production? What’re your recommendations? Another question: Does it safe to expose the authorization code to the user (browser)? Not the …

Let me know if this helps!

Thanks,  
Will

---

_[View the full topic](https://devforum.zoom.us/t/using-multiple-environments-for-the-same-user/31279)._
