# Redirect URI doesn't used when user declines app installation

**URL:** <https://devforum.zoom.us/t/redirect-uri-doesnt-used-when-user-declines-app-installation/21325>\
**Category:** API and Webhooks\
**Created:** [June 14, 2020, 3:10pm UTC](https://devforum.zoom.us/t/redirect-uri-doesnt-used-when-user-declines-app-installation/21325 "2020-06-14T15:10:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.solomon](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@michael.solomon](https://devforum.zoom.us/u/michael.solomon)\
**Post date:** [June 14, 2020, 3:10pm UTC](https://devforum.zoom.us/t/redirect-uri-doesnt-used-when-user-declines-app-installation/21325/1 "2020-06-14T15:10:50Z")

</div>

**Description**  
When the user clicks on the `decline` button in the app install (authorization) step zoom redirects it to `https://marketplace.zoom.us/` instead of to the redirect uri in the query param, it isn’t used to be like that AFAIK.  
Is this intended behavior?

**Error**  
N/A

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

**Which Endpoint/s?**  
`https://zoom.us/oauth/authorize...`

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. decline app installation

**Screenshots (If applicable)**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/c/c679bf5c9c6956784f8d5f538dddac3b92be5721.png)

**Additional context**  
N/A

---

<div class="post-metadata">

**Author:** ![michael.solomon](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@michael.solomon](https://devforum.zoom.us/u/michael.solomon)\
**Post date:** [June 16, 2020, 6:52pm UTC](https://devforum.zoom.us/t/redirect-uri-doesnt-used-when-user-declines-app-installation/21325/2 "2020-06-16T18:52:01Z")

</div>

Is this intended behavior?

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 18, 2020, 6:02pm UTC](https://devforum.zoom.us/t/redirect-uri-doesnt-used-when-user-declines-app-installation/21325/3 "2020-06-18T18:02:36Z")

</div>

Hi @michael.solomon, this is expected behavior. If the user declines authorization, the user is brought to the app’s marketplace page. The Redirect URI in the query redirects on successful authorization, and is used to [preserve user state](https://marketplace.zoom.us/docs/guides/auth/oauth#preserving-user-state-in-redirect-urls).

---

<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, 10:08pm UTC](https://devforum.zoom.us/t/redirect-uri-doesnt-used-when-user-declines-app-installation/21325/4 "2020-08-21T22:08:03Z")

</div>

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


