# Questions about published app install link of user managed Oauth app

**URL:** <https://devforum.zoom.us/t/questions-about-published-app-install-link-of-user-managed-oauth-app/46803>\
**Category:** API and Webhooks\
**Tags:** faq\
**Created:** [March 29, 2021, 6:14am UTC](https://devforum.zoom.us/t/questions-about-published-app-install-link-of-user-managed-oauth-app/46803 "2021-03-29T06:14:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![vince246](https://avatars.discourse-cdn.com/v4/letter/v/3bc359/32.png) [@vince246](https://devforum.zoom.us/u/vince246)\
**Post date:** [March 29, 2021, 6:14am UTC](https://devforum.zoom.us/t/questions-about-published-app-install-link-of-user-managed-oauth-app/46803/1 "2021-03-29T06:14:34Z")

</div>

Hi, zoom masters, I have some questions before I integrate zoom into our applications.

**Description**  
As I want to integrate zoom meeting functions into our web applications with each user’s zoom account. I am glad to see that zoom has supported subdomain for redirected URL of OAuth2 App. It quite meet our business since we provide each customer company a subdomain based on the same domain. Each subdomain is isolated include data of these subdomains。  
[Using Multiple Environments](https://marketplace.zoom.us/docs/guides/auth/oauth#using-multiple-environments)

**Error**  
Based on this, as the develop document guidance I have to publish a user managed OAuth app to support this. is it correct?

I notice that there are two type to provide install link for outside users. **From landing page** and **From marketplace**. But AFAIK both of these two type should have a stable link that our customer could not to set their subdomain in redirect url or landing page. Just like [https://zoom.us/oauth/authorize?response\_type=code&client\_id=7lstjK9NTyett\_oeXtFiEQ&redirect\_uri=https://sub1.yourapp.com](https://zoom.us/oauth/authorize?response_type=code&client_id=7lstjK9NTyett_oeXtFiEQ&redirect_uri=https://sub1.yourapp.com)  
or landing page like [https://sub1.yourapp.com/landing](https://sub1.yourapp.com/landing). So how could I build connection for outside zoom account with one of our customer register subdomain in our application and then save their authorization data under this subdomain and login user in this subdomain?

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

---

<div class="post-metadata">

**Author:** ![vince246](https://avatars.discourse-cdn.com/v4/letter/v/3bc359/32.png) [@vince246](https://devforum.zoom.us/u/vince246)\
**Post date:** [March 29, 2021, 9:29am UTC](https://devforum.zoom.us/t/questions-about-published-app-install-link-of-user-managed-oauth-app/46803/2 "2021-03-29T09:29:20Z")

</div>

I notice that some other application provide a page to for user to set sub-Domain based on the landing page of their main domain. Is this the only solution for current zoom app integration? (user could not customized landing URL domain or redirect URL domain in install link when install zoom app)

---

<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:** [March 30, 2021, 7:49pm UTC](https://devforum.zoom.us/t/questions-about-published-app-install-link-of-user-managed-oauth-app/46803/3 "2021-03-30T19:49:45Z")

</div>

Hey @vince246,

When using multiple domains as part of our OAuth flow, you will need to update the redirect uri dynamically depending on the user and their respective sub domain—allowing an end user to set this on the landing page so that your app can ingest it and update the url accordingly would be one possible solution.

Let us know if you have additional questions about this. 🙂

Best,  
Will

---

<div class="post-metadata">

**Author:** ![vince246](https://avatars.discourse-cdn.com/v4/letter/v/3bc359/32.png) [@vince246](https://devforum.zoom.us/u/vince246)\
**Post date:** [March 31, 2021, 6:44am UTC](https://devforum.zoom.us/t/questions-about-published-app-install-link-of-user-managed-oauth-app/46803/4 "2021-03-31T06:44:03Z")

</div>

Hey @will.zoom, thanks so much for reply.  
I have another question about support sub domain in OAuth before development. As document [https://marketplace.zoom.us/docs/guides/auth/oauth#using-multiple-environments](https://marketplace.zoom.us/docs/guides/auth/oauth#using-multiple-environments) says:  
If we want to support sub domain, we have to set redirect url as _[https://any.yourapp.com](https://any.yourapp.com)_ . I have some questions about this.

1. I may want to know if this is a mandatory requirement when we want to support sub domain we have to add **any** in redirect url in app?

2. Will below app setting also support sub domain in **production app**?

3. Based on 1 and 2, it affected us where to put subdomain setting page for outside user. If we add **any** in redirect url and app is **install from marketplace** mode, then the redirect url in install link seems also contains **any**.

---

<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:** [March 31, 2021, 5:34pm UTC](https://devforum.zoom.us/t/questions-about-published-app-install-link-of-user-managed-oauth-app/46803/5 "2021-03-31T17:34:35Z")

</div>

Hey @vince246,

Good questions, happy to clarify.

1. You only need to specify any.domain if you need to support multiple sub domains. Otherwise, you can just pass the sub domain itself.
2. This is supported in both dev and prod — to test in prod, make sure you’re installing the production instance of the app using the “Publishable URL” on the _Submit_ tab of your app
3. Have you tried directing users to your own landing page and having them enter their respective sub domain for you to ingest/update your URL dynamically based on user input?

Let me know if this helps 🙂

Best,  
Will

---

<div class="post-metadata">

**Author:** ![vince246](https://avatars.discourse-cdn.com/v4/letter/v/3bc359/32.png) [@vince246](https://devforum.zoom.us/u/vince246)\
**Post date:** [April 1, 2021, 6:56am UTC](https://devforum.zoom.us/t/questions-about-published-app-install-link-of-user-managed-oauth-app/46803/6 "2021-04-01T06:56:35Z")

</div>

Hey @will.zoom, thank you for your answers. 😃

For 1 and 2, I am now clear. It is really helpful.  
For 3, yes, I tried, landing page is a perfect solution, we could put more information to guide user. I asked because I am also considering that we could put user input subdomain page and login process (similar to landing page) on the redirect URL when redirect URL doesn’t contains subdomain or user is not logged in subdomain.

Anyway we will try both and find a more suitable implementation.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [April 1, 2021, 10:20pm UTC](https://devforum.zoom.us/t/questions-about-published-app-install-link-of-user-managed-oauth-app/46803/7 "2021-04-01T22:20:04Z")

</div>

Hey @vince246,

I’m glad to hear that Will resolved your issue! Please don’t hesitate to reach out if you encounter any further issues or questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [May 2, 2021, 8:20am UTC](https://devforum.zoom.us/t/questions-about-published-app-install-link-of-user-managed-oauth-app/46803/8 "2021-05-02T08:20:43Z")

</div>

Closed on May 2, 2021, 8:20am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
