# Invalid redirect url (4700) when whitelisting root domain on production sites

**URL:** <https://devforum.zoom.us/t/invalid-redirect-url-4700-when-whitelisting-root-domain-on-production-sites/32693>\
**Category:** API and Webhooks\
**Created:** [October 9, 2020, 12:36am UTC](https://devforum.zoom.us/t/invalid-redirect-url-4700-when-whitelisting-root-domain-on-production-sites/32693 "2020-10-09T00:36:01Z")\
**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:** [October 9, 2020, 7:47pm UTC](https://devforum.zoom.us/t/invalid-redirect-url-4700-when-whitelisting-root-domain-on-production-sites/32693/2 "2020-10-09T19:47:26Z")

</div>

Hi @trista.wang,

Thanks for reaching out, and happy to help take a closer look at this for you.

Is it possible to share a screenshot of your production default Redirect URL and Whitelist URLs with me here? In the meantime, could you also ensure that you have the “[https://topdomain.com](https://topdomain.com/)” as your production redirect URL in your app in the marketplace?

If you have a chance, please also check out this thread:

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

---

_[View the full topic](https://devforum.zoom.us/t/invalid-redirect-url-4700-when-whitelisting-root-domain-on-production-sites/32693)._
