# Invalid Redirect error on getting access token OAuth

**URL:** <https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077>\
**Category:** API and Webhooks\
**Created:** [April 8, 2020, 7:44am UTC](https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077 "2020-04-08T07:44:31Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![raman1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/raman1/32/5445_2.png) [@raman1](https://devforum.zoom.us/u/raman1)\
**Post date:** [April 8, 2020, 7:44am UTC](https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077/1 "2020-04-08T07:44:31Z")

</div>

I have created a new app(OAuth) on Marketplace which is yet to be published.

I want to use the Test credentials. But when I try to get access token from Zoom API reference portal. I get this error.  
Invalid redirect: [https://marketplace.zoom.us/docs/oauth/callback/success](https://marketplace.zoom.us/docs/oauth/callback/success) (4,700)

Also I have already checked the Redirect URL for OAuth and Whitelist URL are same and both are https

 ![Screen Shot 2020-04-08 at 1.04.09 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/9d0831c3d3e91b3d6e3dfee3f9ee9f33738587c3.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:** [April 8, 2020, 7:23pm UTC](https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077/2 "2020-04-08T19:23:26Z")

</div>

Hey @raman1,

When using the test request feature on our docs, set the redirect and whtielist URL to `https://zoom.us`.

That will fix the issue.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![raman1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/raman1/32/5445_2.png) [@raman1](https://devforum.zoom.us/u/raman1)\
**Post date:** [April 9, 2020, 6:43am UTC](https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077/3 "2020-04-09T06:43:44Z")

</div>

Okay. So can I use Test request from my Website and keep redirect & whitelist URL as my website domain?  
Or for Test request it always has to be [https://zoom.us](https://zoom.us) ?

---

<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:** [April 10, 2020, 12:49am UTC](https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077/4 "2020-04-10T00:49:52Z")

</div>

Hey @raman1,

For using the Test Request feature on our docs, you need to use `https://zoom.us` for the redirect and whitelist urls.

 ![Screen Shot 2020-04-09 at 6.49.35 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/8de363625f4d10445a1742146aa5b6015339bbd9.png)

Is that what you are asking?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![flawyte](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/flawyte/32/10119_2.png) [@flawyte](https://devforum.zoom.us/u/flawyte)\
**Post date:** [June 25, 2020, 1:19pm UTC](https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077/5 "2020-06-25T13:19:45Z")

</div>

I had the same problem and was simply following what is written under the “Example Test Request” section on the official docs, which says to use [https://next.stoplight.io/oauth/callback/success](https://next.stoplight.io/oauth/callback/success) as redirect URL.

The solution for me was simply to add [https://marketplace.zoom.us/docs/oauth/callback/success](https://marketplace.zoom.us/docs/oauth/callback/success) to the Whitelist URL list.

Maybe the official guide should be updated with this info to save time to developers that try to use your API. Thank you

---

<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:** [June 26, 2020, 10:03pm UTC](https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077/6 "2020-06-26T22:03:49Z")

</div>

Hey @flawyte,

Thanks for your feedback! We will get this updated asap!

-Tommy

---

<div class="post-metadata">

**Author:** ![ofd.aws96](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ofd.aws96/32/12902_2.png) [@ofd.aws96](https://devforum.zoom.us/u/ofd.aws96)\
**Post date:** [August 8, 2020, 6:33pm UTC](https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077/7 "2020-08-08T18:33:49Z")

</div>

thanks @flawyte for saving my time…already wasted an hour.

The solution for me was simply to add [https://marketplace.zoom.us/docs/oauth/callback/success](https://marketplace.zoom.us/docs/oauth/callback/success) to the Whitelist URL list. . Indeed

I wonder why zoom has purposely skipped this important information in the docs.

I guess they want to have fun :’(

---

<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:** [August 9, 2020, 11:17pm UTC](https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077/8 "2020-08-09T23:17:05Z")

</div>

Hey @ofd.aws96,

We will update our docs asap to fix this. @shrijana.g

Apologies for the confusion and time lost.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![shrijana.g](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shrijana.g/32/605_2.png) [@shrijana.g](https://devforum.zoom.us/u/shrijana.g)\
**Post date:** [August 10, 2020, 12:39am UTC](https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077/9 "2020-08-10T00:39:00Z")

</div>

Hi @tommy @ofd.aws96

This information was added to the docs after @flawyte first brought this to our attention. It is listed in the Example Test Request, Step #3 in this doc: [https://marketplace.zoom.us/docs/api-reference/testing-zoom-apis](https://marketplace.zoom.us/docs/api-reference/testing-zoom-apis)  
I have also updated the call out in the page which might have been misleading. Thank you for letting us know about this.

Thank you,  
Shrijana

---

<div class="post-metadata">

**Author:** ![thachaubunh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/thachaubunh/32/9559_2.png) [@thachaubunh](https://devforum.zoom.us/u/thachaubunh)\
**Post date:** [August 17, 2020, 1:19am UTC](https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077/10 "2020-08-17T01:19:33Z")

</div>

Tôi không có máy tính bảng có thể tham gia băng di động được bình thường đúng không

---

<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:** [May 13, 2021, 6:36pm UTC](https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077/11 "2021-05-13T18:36:55Z")

</div>

Closing old topic.

-Tommy

---

<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:** [May 13, 2021, 6:36pm UTC](https://devforum.zoom.us/t/invalid-redirect-error-on-getting-access-token-oauth/12077/12 "2021-05-13T18:36:57Z")

</div>


