# Invalid Redirect URL (4,700) on valid redirect url

**URL:** <https://devforum.zoom.us/t/invalid-redirect-url-4-700-on-valid-redirect-url/15049>\
**Category:** API and Webhooks\
**Created:** [April 27, 2020, 12:52pm UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-on-valid-redirect-url/15049 "2020-04-27T12:52:08Z")\
**Posts on this page:** 1\
**Showing post:** 40

<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:** [August 6, 2020, 7:12pm UTC](https://devforum.zoom.us/t/invalid-redirect-url-4-700-on-valid-redirect-url/15049/40 "2020-08-06T19:12:56Z")

</div>

Hey @pcvetanov,

Take a look at my two posts here and let me know if that helps:

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

> [@'Invalid request : Redirect URI mismatch.' despite using ngrok](https://devforum.zoom.us/t/invalid-request-redirect-uri-mismatch-despite-using-ngrok/26106/4):
>
> Hey @Nad, Let me know if this helps explain things: The Redirect URI needs to be the same URI from the authorization (install URL) through to the Get Access Token request. So with these URLs set: When I go to install the app from the “Activation” page, it defaults the redirect URI to the one specified in the “Redirect URL for OAuth” input: https://zoom.us/oauth/authorize?response\_type=code&client\_id=ztmR8sxaSBGZ66b5laR7Ag&redirect\_uri=https://zoom.u…

Thanks,  
Tommy

---

_[View the full topic](https://devforum.zoom.us/t/invalid-redirect-url-4-700-on-valid-redirect-url/15049)._
