# Cannot get the authorization code when i install my oauth app locally

**URL:** <https://devforum.zoom.us/t/cannot-get-the-authorization-code-when-i-install-my-oauth-app-locally/60806>\
**Category:** API and Webhooks\
**Created:** [November 29, 2021, 7:27am UTC](https://devforum.zoom.us/t/cannot-get-the-authorization-code-when-i-install-my-oauth-app-locally/60806 "2021-11-29T07:27:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohith](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@rohith](https://devforum.zoom.us/u/rohith)\
**Post date:** [November 29, 2021, 7:27am UTC](https://devforum.zoom.us/t/cannot-get-the-authorization-code-when-i-install-my-oauth-app-locally/60806/1 "2021-11-29T07:27:13Z")

</div>

here is the redirect url i mentioned in my app

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/f/7f3b0386e8e4109c780a7bbe0b7bbfd8e830d08a.png)  
here \<[Myapp.com](http://Myapp.com)\> is representing testing domain.

this is the endpoint i have calling in node js after authorization.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/6/46c26432a58cd56b87378e1f1c50246a4fef0814.png)

But when i click install and authorize i am not getting any authorization code.

My app type is a Oauth enabled chatbot in that.

can you tell me how to get the authorization code?

Thanks rohith

---

<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:** [December 2, 2021, 1:44pm UTC](https://devforum.zoom.us/t/cannot-get-the-authorization-code-when-i-install-my-oauth-app-locally/60806/2 "2021-12-02T13:44:26Z")

</div>

Hi @rohith,

Are you leveraging an OAuth App or a Chatbot app? If it’s the latter, I should note that this utilizes a client\_credentials grant type flow (rather than an authorization code):

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

Let me know if you can confirm,  
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:** [January 1, 2022, 11:45pm UTC](https://devforum.zoom.us/t/cannot-get-the-authorization-code-when-i-install-my-oauth-app-locally/60806/3 "2022-01-01T23:45:09Z")

</div>

Closed on January 1, 2022, 11:45pm UTC

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