# Unable to request authotization code for OAuth App

**URL:** <https://devforum.zoom.us/t/unable-to-request-authotization-code-for-oauth-app/8621>\
**Category:** API and Webhooks\
**Created:** [March 13, 2020, 2:08pm UTC](https://devforum.zoom.us/t/unable-to-request-authotization-code-for-oauth-app/8621 "2020-03-13T14:08:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoomsfdc](https://avatars.discourse-cdn.com/v4/letter/z/d9b06d/32.png) [@zoomsfdc](https://devforum.zoom.us/u/zoomsfdc)\
**Post date:** [March 13, 2020, 2:08pm UTC](https://devforum.zoom.us/t/unable-to-request-authotization-code-for-oauth-app/8621/1 "2020-03-13T14:08:25Z")

</div>

We have created an OAuth App which we need to integrate with Salesforce to get Recorded meeting (which is included in scope).

**Endpoints**  
[https://zoom.us/oauth/authorize?response\_type=code&client\_id={clientid}&redirect\_uri={redirecturl}](https://zoom.us/oauth/authorize?response_type=code&client_id=%7Bclientid%7D&redirect_uri=%7Bredirecturl%7D)

**Error**  
-When we run this through Salesforce Apex, we receive 401 Status Code in response.  
-When we run this through Postman, we are shown to the Zoom Sign In Page.

Looking at Postman, Seems like we need to first provide Zoom user login details.

1. But how can we provide Zoom user credential in that API call?

2. Another issue we noticed is our app status is always “Ready to install”, even after clicking on Install, it shows the redirection page and thats it. Isnt it supposed to be changed to activated.

---

<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 13, 2020, 5:42pm UTC](https://devforum.zoom.us/t/unable-to-request-authotization-code-for-oauth-app/8621/2 "2020-03-13T17:42:14Z")

</div>

Hey @zoomsfdc,

If you are using the OAuth flow, you need to have a Zoom user install the App to start the process. [Check out our OAuth docs here.](https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom)

Depending on your use case, you could use a [JWT App Token](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app) to get the [cloud recordings](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingslist), instead of using the OAuth flow. Or even a [Webhook app](https://marketplace.zoom.us/docs/api-reference/webhook-reference/recording-events/recording-completed).

> [@zoomsfdc](#):
>
> Another issue we noticed is our app status is always “Ready to install”, even after clicking on Install, it shows the redirection page and thats it. Isnt it supposed to be changed to activated.

This will remain the state, unless you publish the App.

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:31pm UTC](https://devforum.zoom.us/t/unable-to-request-authotization-code-for-oauth-app/8621/3 "2020-08-21T19:31:09Z")

</div>


