# Redirect\_uri is invalid even while using ngrok

**URL:** <https://devforum.zoom.us/t/redirect-uri-is-invalid-even-while-using-ngrok/9513>\
**Category:** API and Webhooks\
**Created:** [March 24, 2020, 10:54pm UTC](https://devforum.zoom.us/t/redirect-uri-is-invalid-even-while-using-ngrok/9513 "2020-03-24T22:54:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickoneill](https://avatars.discourse-cdn.com/v4/letter/n/51bf81/32.png) [@nickoneill](https://devforum.zoom.us/u/nickoneill)\
**Post date:** [March 24, 2020, 10:54pm UTC](https://devforum.zoom.us/t/redirect-uri-is-invalid-even-while-using-ngrok/9513/1 "2020-03-24T22:54:16Z")

</div>

**Description**  
I’ve read multiple support issues pertaining to the `invalid redirect_uri` error that appears when using localhost. The suggested workaround is to use an Ngrok URL and that should solve the problem.

**Error**  
When I set Ngrok as the callback URL in the credentials, Zoom tells me Invalid redirect: [https://837dd851.ngrok.io/users/auth/zoom/callback](https://837dd851.ngrok.io/users/auth/zoom/callback) (4,700)"

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

**Which Endpoint/s?**  
/authorize

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

1. Visit the app credentials page
2. Enter my NGrok URL as the Redirect URL
3. Visit OAuth URL with the new redirect\_uri passed as an argument

Receives an error.

**Screenshots (If applicable)**  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/500d0225be7a9b837cba107290f17f2e0ecdb104.png)

The error can be seen here: [https://imgur.com/aypXlIj](https://imgur.com/aypXlIj)

**NOTE**  
By changing the redirect URI again I don’t get the same error, however once I’m redirected back to my application, I continue to receive the error `{"reason":"Invalid request : Redirect URI mismatch.","error":"invalid_request"}`

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 25, 2020, 5:43am UTC](https://devforum.zoom.us/t/redirect-uri-is-invalid-even-while-using-ngrok/9513/2 "2020-03-25T05:43:04Z")

</div>

Hey @nickoneill, thanks for posting and using Zoom!

What value do you have in the URL whitelist field? Make sure it is the same domain as the Redirect URL.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nickoneill](https://avatars.discourse-cdn.com/v4/letter/n/51bf81/32.png) [@nickoneill](https://devforum.zoom.us/u/nickoneill)\
**Post date:** [May 21, 2020, 7:36pm UTC](https://devforum.zoom.us/t/redirect-uri-is-invalid-even-while-using-ngrok/9513/3 "2020-05-21T19:36:13Z")

</div>

Sorry for the delay @tommy. I was able to get this to work… thanks!

---

<div class="post-metadata">

**Author:** ![jam869](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jam869](https://devforum.zoom.us/u/jam869)\
**Post date:** [May 27, 2020, 2:18am UTC](https://devforum.zoom.us/t/redirect-uri-is-invalid-even-while-using-ngrok/9513/4 "2020-05-27T02:18:51Z")

</div>

How did you get this to work? I have the same issue as you and am using the same URL in the whitelist field as I am for my Redirect URL

---

<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:** [May 29, 2020, 7:57am UTC](https://devforum.zoom.us/t/redirect-uri-is-invalid-even-while-using-ngrok/9513/5 "2020-05-29T07:57:34Z")

</div>

Hi @jam869 the ngrok URL (and the callback paths) will be unique to your application. Have you added your own Redirect URL to the whitelist?

---

<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, 9:37pm UTC](https://devforum.zoom.us/t/redirect-uri-is-invalid-even-while-using-ngrok/9513/6 "2020-08-21T21:37:08Z")

</div>


