# Oauth - authorize API

**URL:** <https://devforum.zoom.us/t/oauth-authorize-api/19920>\
**Category:** API and Webhooks\
**Created:** [June 2, 2020, 6:00am UTC](https://devforum.zoom.us/t/oauth-authorize-api/19920 "2020-06-02T06:00:57Z")\
**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:** [June 11, 2020, 6:43pm UTC](https://devforum.zoom.us/t/oauth-authorize-api/19920/4 "2020-06-11T18:43:57Z")

</div>

Hey @akashkulkarni796,

Checkout my post here on dynamic redirect urls:

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

---

_[View the full topic](https://devforum.zoom.us/t/oauth-authorize-api/19920)._
