# Unable to make a post request from backend for oauth2.0 authorization

**URL:** <https://devforum.zoom.us/t/unable-to-make-a-post-request-from-backend-for-oauth2-0-authorization/32549>\
**Category:** API and Webhooks\
**Created:** [October 8, 2020, 5:30am UTC](https://devforum.zoom.us/t/unable-to-make-a-post-request-from-backend-for-oauth2-0-authorization/32549 "2020-10-08T05:30:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lachu2598](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lachu2598/32/7090_2.png) [@lachu2598](https://devforum.zoom.us/u/lachu2598)\
**Post date:** [October 8, 2020, 5:30am UTC](https://devforum.zoom.us/t/unable-to-make-a-post-request-from-backend-for-oauth2-0-authorization/32549/1 "2020-10-08T05:30:57Z")

</div>

**Description**  
While sending post request with client\_id and client\_secret from backend and am not getting back the code with which i should send another post request to get access token.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

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

1. response=requests.post(‘[https://zoom.us/oauth/authorize?client\_id=](https://zoom.us/oauth/authorize?client_id=)\<client\_id\>&response\_type=code&redirect\_uri=http%\*\*\*\*’)

I have installed the oauth app and also provided my redirect url. I am trying to get the response and access the code from the response. But the response.url is the same as to the URL in my post request with small changes.

---

<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:** [October 8, 2020, 5:31am UTC](https://devforum.zoom.us/t/unable-to-make-a-post-request-from-backend-for-oauth2-0-authorization/32549/2 "2020-10-08T05:31:40Z")

</div>

Hey @lachu2598

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. 🙂

Checkout this related thread that may have the answer you are looking for:

> [@Unable to Request an Access Token](https://devforum.zoom.us/t/-/12196):
>
> Description I have been asked to provide usage reports for users/meetings, and I was informed I needed to use the Zoom API to achieve this. Thus far, I followed the steps @ [https://github.com/zoom/zoom-oauth-sample-app](https://github.com/zoom/zoom-oauth-sample-app) to build a Zoom sample OAuth application, and I am also following the steps @ [https://marketplace.zoom.us/docs/guides/auth/oauth](https://marketplace.zoom.us/docs/guides/auth/oauth). Within the Zoom Marketplace guide, I am stuck on “Step 2: Request Access Token”. When navigating to my URL (which contains my Redirect URI, as well as…

If this thread did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,  
DeveloperBot

---

<div class="post-metadata">

**Author:** ![lachu2598](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lachu2598/32/7090_2.png) [@lachu2598](https://devforum.zoom.us/u/lachu2598)\
**Post date:** [October 8, 2020, 5:42am UTC](https://devforum.zoom.us/t/unable-to-make-a-post-request-from-backend-for-oauth2-0-authorization/32549/3 "2020-10-08T05:42:46Z")

</div>

This thread is not helping.

---

<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:** [October 8, 2020, 7:29pm UTC](https://devforum.zoom.us/t/unable-to-make-a-post-request-from-backend-for-oauth2-0-authorization/32549/4 "2020-10-08T19:29:34Z")

</div>

Hey @lachu2598,

The authorize URL needs to be navigated to in the browser. You cannot make a Post request to the authorize url:

> **[OAuth 2.0 - Authorization - Documentation](https://marketplace.zoom.us/docs/guides/auth/oauth#getting-access-token)**
>
> OAuth with Zoom
> 
> The Zoom API uses OAuth 2.0 to authenticate and authorize users to make requests. To setup access credentials and request scopes for yo...

Thanks,  
Tommy

---

<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:** [November 8, 2020, 5:29am UTC](https://devforum.zoom.us/t/unable-to-make-a-post-request-from-backend-for-oauth2-0-authorization/32549/5 "2020-11-08T05:29:40Z")

</div>

Closed on November 8, 2020, 5:29am UTC

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