OAuth allow list not working - Redirect URI mismatch

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
redirect_uri in code request: 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.”

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

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?

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

1 Like

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