# Invalid redirect using ngrok

**URL:** <https://devforum.zoom.us/t/invalid-redirect-using-ngrok/7514>\
**Category:** API and Webhooks\
**Created:** [January 15, 2020, 12:23am UTC](https://devforum.zoom.us/t/invalid-redirect-using-ngrok/7514 "2020-01-15T00:23:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bimal](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bimal/32/2875_2.png) [@bimal](https://devforum.zoom.us/u/bimal)\
**Post date:** [January 15, 2020, 12:23am UTC](https://devforum.zoom.us/t/invalid-redirect-using-ngrok/7514/1 "2020-01-15T00:23:40Z")

</div>

**Description**  
I’m trying to test Zoom OAuth locally but I get an Invalid redirect error. Invalid redirect: [https://fceca8f4.ngrok.io/auth/redirect](https://fceca8f4.ngrok.io/auth/redirect)

**Error**  
Error: Invalid redirect: [https://fceca8f4.ngrok.io/auth/redirect](https://fceca8f4.ngrok.io/auth/redirect)

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Knowing the endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

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

1. Have a webserver running locally on port 8080 which has a GET endpoint `auth/redirect`
2. Convert the localhost:8080 to ngrok.
3. Set the redirect URL to `https://fceca8f4.ngrok.io/auth/redirect`
4. See the error: `Invalid redirect: https://fceca8f4.ngrok.io/auth/redirect`

**Screenshots**

 ![Screen Shot 2020-01-15 at 00.20.52](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/e/ee718dd20d4aacc33beb781752fd3dfa6b999d16.png)

---

<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:** [January 15, 2020, 4:59pm UTC](https://devforum.zoom.us/t/invalid-redirect-using-ngrok/7514/2 "2020-01-15T16:59:54Z")

</div>

Hey @bimal, thanks for posting and using Zoom!

What url do you have as your whitelist URL?

Also double check you have the same redirect URL in the Marketplace dashboard, as in your [OAuth request](https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom#step-2-request-token).

Thanks,  
Tommy

---

<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, 7:11pm UTC](https://devforum.zoom.us/t/invalid-redirect-using-ngrok/7514/3 "2020-08-21T19:11:49Z")

</div>


