# Invalid redirect using company login

**URL:** <https://devforum.zoom.us/t/invalid-redirect-using-company-login/5965>\
**Category:** API and Webhooks\
**Created:** [September 19, 2019, 8:26pm UTC](https://devforum.zoom.us/t/invalid-redirect-using-company-login/5965 "2019-09-19T20:26:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [September 19, 2019, 10:43pm UTC](https://devforum.zoom.us/t/invalid-redirect-using-company-login/5965/2 "2019-09-19T22:43:45Z")

</div>

Hey @steven.wadsworth, thanks for posting and using Zoom!

The Redirect URL is the url to take the user after they authorize your app. In most cases you will take your user to a /authorize path and [grab the `code` in the query params and use that to request an `access_token`.](https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom#request-access-token)

 ![49%20PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/f3f89b621b428ae67add657f3654eaa39a25bced.png)

Also see this thread for using a localhost redirect url:

> [@Zoom Application Wrong redirect](https://devforum.zoom.us/t/zoom-application-wrong-redirect/4402/5):
>
> Hey @subhan, This issue only happens with localhost urls. To solve this you could use [https://ngrok.com/](https://ngrok.com/) to turn your localhost server into a free server with a url, and replace the localhost redirect url with the ngrok url. Instead of [http://localhost:8080/api/v1/zoom/complete-oauth](http://localhost:8080/api/v1/zoom/complete-oauth) it would be [https://d4c4477b.ngrok.io/api/v1/zoom/complete-oauth](https://d4c4477b.ngrok.io/api/v1/zoom/complete-oauth) This way you can still develop and test locally and have your redirect url work! Let me know if this helps!

Thanks,  
Tommy

Thanks,  
Tommy

---

_[View the full topic](https://devforum.zoom.us/t/invalid-redirect-using-company-login/5965)._
