# Placeholder in Redirect URL in OAuth

**URL:** <https://devforum.zoom.us/t/placeholder-in-redirect-url-in-oauth/81383>\
**Category:** Authentication\
**Tags:** api\
**Created:** [January 13, 2023, 8:23am UTC](https://devforum.zoom.us/t/placeholder-in-redirect-url-in-oauth/81383 "2023-01-13T08:23:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sai11101989](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@sai11101989](https://devforum.zoom.us/u/sai11101989)\
**Post date:** [January 13, 2023, 8:23am UTC](https://devforum.zoom.us/t/placeholder-in-redirect-url-in-oauth/81383/1 "2023-01-13T08:23:20Z")

</div>

We are currently working on building an OAuth app - User Managed for our E-learning Product. Our E-learning product is deployed in Multi-tenant system. Are we allowed use our Re-direction URL as follows - where the elearningsite.host is constant and we wish to populate %tenantname% to populate our customer tenantid ondemand

[https://%tenantname%.elearningsite.host/]

OR

Are we allowed to use our Redirect URL as [https://any.elearningsite.host](https://any.elearningsite.host) and replace “any” with our tenant name of our customer ondemand?

I don’t see any documentation that helps us decide this. Even if we use it, will ZOOM allow us to append the redirection URL and then use it for further token and refresh token generation?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [January 13, 2023, 10:47pm UTC](https://devforum.zoom.us/t/placeholder-in-redirect-url-in-oauth/81383/2 "2023-01-13T22:47:15Z")

</div>

Hi @sai11101989  
Thanks for reaching out to the Zoom Developer forum, I am happy to help here!  
Here is the link to our Docs, where you will find how you can use multiple environments in your application

[https://marketplace.zoom.us/docs/guides/auth/oauth/#using-multiple-environments](https://marketplace.zoom.us/docs/guides/auth/oauth/#using-multiple-environments)

Let me know if this helps,  
Elisa

---

<div class="post-metadata">

**Author:** ![sai11101989](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@sai11101989](https://devforum.zoom.us/u/sai11101989)\
**Post date:** [January 16, 2023, 7:47am UTC](https://devforum.zoom.us/t/placeholder-in-redirect-url-in-oauth/81383/3 "2023-01-16T07:47:57Z")

</div>

Thank you for the details. I see from the supplied documentation that I can rely on any[dot]example[dot]com and replace any with sub1, sub2 and redirect accordingly.

However, few of my customers use different, fully qualified domain names. Can Am I allowed to replace the entire redirect URL during my token call?

Example illustration for your review:

1. I will set my redirect URL on a OAuth User Managed app as : any[dot]example[dot]com
2. When I call the OAuth authorization code programmatically via my application, I will replace my redirect\_uri value as new[dot]newsite[dot]com

Will zoom verify and compare the redirect\_uri I am using in my programmatic call via my application with redirect\_uri value from OAuth Usermanaged App from ZOOM Marketplace?

Thank you for your help in advance!

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [January 17, 2023, 7:22pm UTC](https://devforum.zoom.us/t/placeholder-in-redirect-url-in-oauth/81383/4 "2023-01-17T19:22:38Z")

</div>

Hi @sai11101989  
The redirect\_url needs to be added in the Allow list, for the user to be able to authorize the app in their account.
