# OAuth2 testing in Postman

**URL:** <https://devforum.zoom.us/t/oauth2-testing-in-postman/6566>\
**Category:** API and Webhooks\
**Created:** [November 8, 2019, 4:29am UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566 "2019-11-08T04:29:08Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![4everCodeNLearn](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/4evercodenlearn/32/2313_2.png) [@4everCodeNLearn](https://devforum.zoom.us/u/4everCodeNLearn)\
**Post date:** [November 8, 2019, 4:29am UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/1 "2019-11-08T04:29:08Z")

</div>

Trying to get through OAuth2 testing in Postman.

I am using the Get New Access Token page but it takes me to the “Invalid redirect url (4700)” page.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/ad2fc2f2bec12195faff28f087d72be838b1109d.png)

What’s wrong with this setup?

Steps to reproduce the behavior:

1. Enter in the same info in Postman but with your own client\_id and client\_secret.

It is probably something simple I am not seeing. Thanks for the help!

---

<div class="post-metadata">

**Author:** ![4everCodeNLearn](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/4evercodenlearn/32/2313_2.png) [@4everCodeNLearn](https://devforum.zoom.us/u/4everCodeNLearn)\
**Post date:** [November 8, 2019, 5:27am UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/2 "2019-11-08T05:27:51Z")

</div>

Figured this one out.

redirect\_uri goes where it says “Callback URL”, not “[https://myapp.io/zoomcallback](https://myapp.io/zoomcallback)”

Also, I think the redirect\_uri has to be an “https” address to fix the redirection however I am not 100% sure about that.

I was able to generate a token after changing the Callback URL which is the first problem I was trying to solve here.

---

<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:** [November 8, 2019, 5:31pm UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/3 "2019-11-08T17:31:59Z")

</div>

Hey @4everCodeNLearn,

Happy to hear you resolved your issue.

Let us know if you have additional questions!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![baifeng1991321](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/baifeng1991321/32/2946_2.png) [@baifeng1991321](https://devforum.zoom.us/u/baifeng1991321)\
**Post date:** [January 17, 2020, 9:32pm UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/4 "2020-01-17T21:32:50Z")

</div>

sorry I got the same error.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/13f9cfe1b6ae232fd8fb8cf8e76f8f094cbaa630.png)  
this is a serious error for me.  
Thanks

---

<div class="post-metadata">

**Author:** ![4everCodeNLearn](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/4evercodenlearn/32/2313_2.png) [@4everCodeNLearn](https://devforum.zoom.us/u/4everCodeNLearn)\
**Post date:** [January 17, 2020, 10:19pm UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/5 "2020-01-17T22:19:15Z")

</div>

Hi baifeng1991321,

Set Callback URL = “redirect uri”. **Do not set** Callback URL = “[https://zoom.us/oauth/callback](https://zoom.us/oauth/callback)”.

“redirect uri” should be something like “[https://www.yourdomain.com/landing\_page\_after\_login](https://www.yourdomain.com/landing_page_after_login)”. The “redirect uri” is the page the user sees AFTER they have logged in successfully to Zoom.

Unfortunately I am leaving my house for a few hours so I cannot help any further right now. Good luck!

---

<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 17, 2020, 10:41pm UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/6 "2020-01-17T22:41:01Z")

</div>

Hey @baifeng1991321, thanks for posting and using Zoom!

Make sure the callback URL matches with your callback in your Redirect URL and Whitelist URL in the Zoom Marketplace Dashboard for your app.

Thanks for your help @4everCodeNLearn!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![baifeng1991321](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/baifeng1991321/32/2946_2.png) [@baifeng1991321](https://devforum.zoom.us/u/baifeng1991321)\
**Post date:** [January 17, 2020, 11:06pm UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/7 "2020-01-17T23:06:08Z")

</div>

in fact, I am not sure the redirect url and whitelist url in zoom marketplace dashboard for my appl.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/2f700668b322975fb7d518c4e9da5ee0d1c3831b.png)  
I changed the callback url to [https://www.rac24.com](https://www.rac24.com)  
but it cause the same error.  
thanks

---

<div class="post-metadata">

**Author:** ![baifeng1991321](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/baifeng1991321/32/2946_2.png) [@baifeng1991321](https://devforum.zoom.us/u/baifeng1991321)\
**Post date:** [January 17, 2020, 11:13pm UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/8 "2020-01-17T23:13:21Z")

</div>

could you help me via teamviewer?  
it is very urgent.  
thanks

---

<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 17, 2020, 11:41pm UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/9 "2020-01-17T23:41:16Z")

</div>

Hey @baifeng1991321,

You can schedule a meeting with me here for further assistance:

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![baifeng1991321](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/baifeng1991321/32/2946_2.png) [@baifeng1991321](https://devforum.zoom.us/u/baifeng1991321)\
**Post date:** [January 18, 2020, 6:32am UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/10 "2020-01-18T06:32:23Z")

</div>

hi. how are you?  
[https://marketplace.zoom.us/docs/guides/authorization/oauth/quickstart](https://marketplace.zoom.us/docs/guides/authorization/oauth/quickstart)  
i gonna use this in angular project.  
but i don’t know how to use this.

I downloaded the source code from github and executed it on my local computer.

 ![Screenshot_3](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/4e74794dda5a4a0129628fafddc11eeb1e09d097.png)

could you help me?  
thanks and regards

---

<div class="post-metadata">

**Author:** ![baifeng1991321](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/baifeng1991321/32/2946_2.png) [@baifeng1991321](https://devforum.zoom.us/u/baifeng1991321)\
**Post date:** [January 18, 2020, 9:00am UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/11 "2020-01-18T09:00:05Z")

</div>

and I also have one problem in account api  
[https://marketplace.zoom.us/docs/api-reference/zoom-api/accounts/accounts](https://marketplace.zoom.us/docs/api-reference/zoom-api/accounts/accounts)  
I gonna get account list in this api,  
but I cannot get it on postman.  
I filled a correct access token in a form and it cause the following error.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/9ac76176e76006d34107293456935660ff5e2581.png)  
i don’t know why this error caused.  
help me.  
thanks

---

<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 21, 2020, 7:34pm UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/12 "2020-01-21T19:34:42Z")

</div>

Hey @baifeng1991321,

I am well!

It looks like your backend is not sending a response to your Angular frontend.

Which github sample are you using? [Here are the docs on generating a signature serverside.](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature)

As for your request in Postman, please set the Type to `Bearer` not OAuth 2.0.

 ![Screen Shot 2020-01-21 at 12.33.50 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/155eecacb3f89a4e6a57dff78cdb3c1d733c4455.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![deepen](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@deepen](https://devforum.zoom.us/u/deepen)\
**Post date:** [March 26, 2020, 7:30am UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/13 "2020-03-26T07:30:21Z")

</div>

@Tommy,

Could you help me to zoom oauth test setup in postman?  
I’m getting `Invalid Request URL (4700)` Error.  
I’m following tutorial [https://marketplace.zoom.us/docs/guides/authorization/oauth/quickstart](https://marketplace.zoom.us/docs/guides/authorization/oauth/quickstart).  
It would be great if you are available via team viewer.

I’m trying to setup zoom LTI with our LMS system.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [March 26, 2020, 6:56pm UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/14 "2020-03-26T18:56:50Z")

</div>

Hi @deepen,

When testing within Postman, please make sure your redirect url matches the one you set within your OAuth app.

[https://zoom.us/oauth/token?grant\_type=authorization\_code&code=2LGsWqGOg&redirect\_uri=](https://zoom.us/oauth/token?grant_type=authorization_code&code=2LGsWqGOg&redirect_uri=)**[https://zoom.us](https://zoom.us)**

![Screen Shot 2020-03-26 at 11.55.36 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/e/e01f2a9160f4ba7bd82dab5eeae50f2a27c42534.png)

---

<div class="post-metadata">

**Author:** ![deepen](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@deepen](https://devforum.zoom.us/u/deepen)\
**Post date:** [March 27, 2020, 6:02am UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/15 "2020-03-27T06:02:37Z")

</div>

Thanks @michael_p.zoom for responding.

I’m trying to Oauth with zoom.  
First step as per doc is to get authorize user and second step is retrieve access token of that user.

I am getting difficulty in first step.

Steps I followed,

- Create one Oauth in zoom market place
- Set `https://zoom.us` url in redirect url for development and production.
- Get client id and secret
- Use `https://zoom.us/oauth/authorize?response_type=code&client_id=<CLIENT_ID>&redirect_uri=https://zoom.us` to authorize user in web browser and in postman as well.

Here, I’m getting `Invalid redirect url(4700)` error.

Could you help me to solve this?

I can use `ngrok` to build URL which can forward to `localhost` if you can help to setup.

Thanks.

---

<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 27, 2020, 5:07pm UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/16 "2020-03-27T17:07:12Z")

</div>

Hey @deepen,

Make sure you have set your redirect url domain ([https://zoom.us](https://zoom.us)) in the whitelist section.

 ![Screen Shot 2020-03-27 at 11.06.59 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/9a521f49472e130cb1b87516930a5dbc03af925f.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![deepen](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@deepen](https://devforum.zoom.us/u/deepen)\
**Post date:** [March 30, 2020, 1:02pm UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/17 "2020-03-30T13:02:23Z")

</div>

Thanks @tommy for your response.

I did test as per your suggestion and it worked for one time only.  
It’s not working after I changed redirect\_uri in zoom app config and in local.  
I roll backed changes. but, no luck.

What I did as,

- Changed redirect\_url to `https://402f3930.ngrok.io/zoom-integration/` in zoom app and redirect\_url in authentication url.
- Whitelisted `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:** [March 30, 2020, 11:44pm UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/18 "2020-03-30T23:44:02Z")

</div>

Hey @deepen,

> [@deepen](#):
>
> I did test as per your suggestion and it worked for one time only.  
> It’s not working after I changed redirect\_uri in zoom app config and in local.

What is the error after it worked?

Please provide steps to reproduce the issue, or a video of the issue.

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:24pm UTC](https://devforum.zoom.us/t/oauth2-testing-in-postman/6566/19 "2020-08-21T19:24:57Z")

</div>


