# Can we use zoom Oauth to get access token?

**URL:** <https://devforum.zoom.us/t/can-we-use-zoom-oauth-to-get-access-token/54440>\
**Category:** API and Webhooks\
**Created:** [July 20, 2021, 3:43pm UTC](https://devforum.zoom.us/t/can-we-use-zoom-oauth-to-get-access-token/54440 "2021-07-20T15:43:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tejendra.pratap.ju](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tejendra.pratap.ju/32/29028_2.png) [@tejendra.pratap.ju](https://devforum.zoom.us/u/tejendra.pratap.ju)\
**Post date:** [July 20, 2021, 3:43pm UTC](https://devforum.zoom.us/t/can-we-use-zoom-oauth-to-get-access-token/54440/1 "2021-07-20T15:43:24Z")

</div>

I created an unpublished Oauth app “test” on zoom, then I authorized it to “View and manage all user meetings” and “View users information and manage users”. But when I am trying to do the same on localhost on a different browser (say browser 2), it gives an error " Invalid client\_id:XXXXXXXXXXXXXXXXXXXXX ", while I am getting redirected to my redirect page with code on the 1st browser.  
I am unable to understand this error.  
Also, can use this access\_token to create instant meetings?

Thank you

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [July 21, 2021, 9:15pm UTC](https://devforum.zoom.us/t/can-we-use-zoom-oauth-to-get-access-token/54440/2 "2021-07-21T21:15:24Z")

</div>

Hi @tejendra.pratap.ju,

Can you make sure your redirect URL is served over HTTPS? You can test with any valid URL, such as [https://zoom.us](https://zoom.us) — let me know if you face the same issue. This should be possible.

On success, a `code` will be appended to the redirect URL. You will then exchange that code for an access\_token by calling our /oauth endpoint.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 21, 2021, 7:15am UTC](https://devforum.zoom.us/t/can-we-use-zoom-oauth-to-get-access-token/54440/3 "2021-08-21T07:15:49Z")

</div>

Closed on August 21, 2021, 7:15am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
