# OAuth allow list not working - Redirect URI mismatch

**URL:** <https://devforum.zoom.us/t/oauth-allow-list-not-working-redirect-uri-mismatch/70590>\
**Category:** API and Webhooks\
**Tags:** oauth\
**Created:** [June 16, 2022, 4:07am UTC](https://devforum.zoom.us/t/oauth-allow-list-not-working-redirect-uri-mismatch/70590 "2022-06-16T04:07:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![david4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/david4/32/38503_2.png) [@david4](https://devforum.zoom.us/u/david4)\
**Post date:** [June 16, 2022, 4:07am UTC](https://devforum.zoom.us/t/oauth-allow-list-not-working-redirect-uri-mismatch/70590/1 "2022-06-16T04:07:29Z")

</div>

**Description**  
I added a URL to the OAuth allow list but when using the code to get the access token, I receive an error “Invalid request : Redirect URI mismatch.”

redirect\_uri in install request: [https://www.app-staging.mydomain.com/api/connectedapps/oauth/callback](https://www.app-staging.mydomain.com/api/connectedapps/oauth/callback)  
redirect\_uri in code request: [https://www.app-staging.mydomain.com/api/connectedapps/oauth/callback](https://www.app-staging.mydomain.com/api/connectedapps/oauth/callback)

The “Redirect URL for OAuth” in the main text field (registration in marketplace) is:  
api-staging. mydomain. com/api/connectedapps/oauth/callback (without spaces)

But I would’ve thought as long as both requests have the same redirect URL it should work?

**Error?**  
Invalid request : Redirect URI mismatch.

**API Endpoint/s?**  
Normal OAuth token URL

**How To Reproduce**  
_Steps to reproduce the behavior:_  
\*1. Use a redirect\_uri that’s in the OAuth allow list but not listed as the main redirect\_uri  
\*3. Error received: “Invalid request : Redirect URI mismatch.”

---

<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:** [June 17, 2022, 9:37pm UTC](https://devforum.zoom.us/t/oauth-allow-list-not-working-redirect-uri-mismatch/70590/2 "2022-06-17T21:37:14Z")

</div>

Hi @david4  
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
Is your app currently published in the Marketplace? If so, and you just added a new URL you must submit your app for update.

Let me know if this helps  
Best,  
Elisa

---

<div class="post-metadata">

**Author:** ![david4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/david4/32/38503_2.png) [@david4](https://devforum.zoom.us/u/david4)\
**Post date:** [June 18, 2022, 7:24am UTC](https://devforum.zoom.us/t/oauth-allow-list-not-working-redirect-uri-mismatch/70590/3 "2022-06-18T07:24:10Z")

</div>

Hi @elisa.zoom the app is published and the new URLs have been submitted and accepted.

Have you got time for a 1:1 call to work through it please?

---

<div class="post-metadata">

**Author:** ![david4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/david4/32/38503_2.png) [@david4](https://devforum.zoom.us/u/david4)\
**Post date:** [June 20, 2022, 3:50am UTC](https://devforum.zoom.us/t/oauth-allow-list-not-working-redirect-uri-mismatch/70590/4 "2022-06-20T03:50:52Z")

</div>

Solution - Checked the logs and I wasn’t adding the correct redirect\_uri to the query params, only the body.

Thanks for responding @elisa.zoom

---

<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:** [June 21, 2022, 11:32am UTC](https://devforum.zoom.us/t/oauth-allow-list-not-working-redirect-uri-mismatch/70590/5 "2022-06-21T11:32:35Z")

</div>

Hi @david4  
I am happy to hear it works now! Thanks for the update 🙂

---

<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:** [July 21, 2022, 9:32pm UTC](https://devforum.zoom.us/t/oauth-allow-list-not-working-redirect-uri-mismatch/70590/6 "2022-07-21T21:32:50Z")

</div>

Closed on July 21, 2022, 9:32pm UTC

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