# Triggering custom code/redirect after an App is installed?

**URL:** <https://devforum.zoom.us/t/triggering-custom-code-redirect-after-an-app-is-installed/3251>\
**Category:** App Marketplace\
**Created:** [February 11, 2019, 4:00pm UTC](https://devforum.zoom.us/t/triggering-custom-code-redirect-after-an-app-is-installed/3251 "2019-02-11T16:00:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![navinmishra](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@navinmishra](https://devforum.zoom.us/u/navinmishra)\
**Post date:** [February 11, 2019, 4:00pm UTC](https://devforum.zoom.us/t/triggering-custom-code-redirect-after-an-app-is-installed/3251/1 "2019-02-11T16:00:46Z")

</div>

Hi,

When installing an App from the marketplace or via publishable URL, it triggers OAuth2 flow and, after OAuth is successful, the App is shown installed.

Since the App itself doesn’t seem to have any custom code of its own, can the redirect URL, that receives the OAuth token, trigger some custom code? Specifically, can it further redirect to some other page say for App configuration?? If so, will it cause any problem and, if not, is it something that is planned to be changed in future?

Thanks in advance and regards

Navin Mishra

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [February 12, 2019, 3:19pm UTC](https://devforum.zoom.us/t/triggering-custom-code-redirect-after-an-app-is-installed/3251/2 "2019-02-12T15:19:55Z")

</div>

Hi Navin,

Thanks for the questions, we’ve reached out to our Marketplace specialist to see if this is on the roadmap and will follow back up with you with an anwer as soon as possible.

Thanks

---

<div class="post-metadata">

**Author:** ![navinmishra](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@navinmishra](https://devforum.zoom.us/u/navinmishra)\
**Post date:** [February 12, 2019, 8:46pm UTC](https://devforum.zoom.us/t/triggering-custom-code-redirect-after-an-app-is-installed/3251/3 "2019-02-12T20:46:28Z")

</div>

Thank you…we will appreciate that very much!

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [February 12, 2019, 10:43pm UTC](https://devforum.zoom.us/t/triggering-custom-code-redirect-after-an-app-is-installed/3251/4 "2019-02-12T22:43:32Z")

</div>

Hi @navinmishra,

Would you be able to explain your use case? As the OAuth redirect url can still be used to launch any app specific config.

Thanks

---

<div class="post-metadata">

**Author:** ![navinmishra](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@navinmishra](https://devforum.zoom.us/u/navinmishra)\
**Post date:** [February 12, 2019, 11:09pm UTC](https://devforum.zoom.us/t/triggering-custom-code-redirect-after-an-app-is-installed/3251/5 "2019-02-12T23:09:26Z")

</div>

Thank you for the response. In essence, after OAuth token is received from Zoom (at the time when App is considered installed), we want to  
further redirect to a configuration page for the App. Would it cause any side effects w.r.t. what Zoom expects to happen at the time of installing an App ? If not, is it something that might change in future ?

Another question is that, in the install URL generated for installing an App from the marketplace, why it does not have a provision to send some “state” ? The generated URL can’t be also changed to include this parameter. When building  
the URL manually, I understand “state” can be passed but not when installing from the marketplace.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [February 14, 2019, 5:01am UTC](https://devforum.zoom.us/t/triggering-custom-code-redirect-after-an-app-is-installed/3251/6 "2019-02-14T05:01:26Z")

</div>

Hi @navinmishra,

Thanks for providing us your detailed use case. You should be able to do this with what you described, as all you need to do is redirect the client to your configuration URL once you receive the token.  
We have a test app where you can refer to for example as well [https://github.com/zoom/data-visualization-sample-app](https://github.com/zoom/data-visualization-sample-app).

Thanks

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:10pm UTC](https://devforum.zoom.us/t/triggering-custom-code-redirect-after-an-app-is-installed/3251/7 "2020-08-21T18:10:49Z")

</div>

Closed on August 21, 2020, 6:10pm UTC


