# OAuth app - authenticate in an external application

**URL:** <https://devforum.zoom.us/t/oauth-app-authenticate-in-an-external-application/16712>\
**Category:** API and Webhooks\
**Created:** [May 8, 2020, 6:25am UTC](https://devforum.zoom.us/t/oauth-app-authenticate-in-an-external-application/16712 "2020-05-08T06:25:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marv](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@Marv](https://devforum.zoom.us/u/Marv)\
**Post date:** [May 8, 2020, 6:25am UTC](https://devforum.zoom.us/t/oauth-app-authenticate-in-an-external-application/16712/1 "2020-05-08T06:25:22Z")

</div>

Hey team,

I am an apprentice from Germany and I am currently in my first year of training :).  
So I don’t know to much about using APIs at all.

My company gave me the order to use the Zoom API. So started to learn more about Nodejs.  
As the documentation says I need to use OAuth to get the data from the API I want.  
I created an OAuth app in the app marketplace and a Nodejs script that handles these request.  
I successfully created a Nodejs script that calls the Meeting API and shows me my created Meeting when I click on “install” in my app on the app marketplace.  
So far so good.

My goal is to create an Nodejs script which I can call from my PC that makes an request to the Zoom API. The problem which I got is the authentication. When I do the first POST request to this URL: [https://zoom.us/oauth/authorize](https://zoom.us/oauth/authorize) with the parameters which where described here: [https://marketplace.zoom.us/docs/guides/auth/oauth](https://marketplace.zoom.us/docs/guides/auth/oauth) I wont get my authorization code.  
I probably know why. Its because i am not logged in with my Zoom account. Is their any chance to access the API without a login? Or do you know how I can access the authorization code without clicking on the “install” button in the browser when i am logged in?

I hope you can help me with this problem 🙂

Thanks,  
Marvin

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [May 13, 2020, 3:25pm UTC](https://devforum.zoom.us/t/oauth-app-authenticate-in-an-external-application/16712/2 "2020-05-13T15:25:09Z")

</div>

Hi @Marv! The authorization code is returned as a query parameter of the Redirect URL. Check our [OAuth Sample App](https://github.com/zoom/zoom-oauth-sample-app/blob/master/index.js#L19) for how to check for this and then handle the request for an access token.

Are you not receiving this code in this query parameter?

---

<div class="post-metadata">

**Author:** ![Marv](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@Marv](https://devforum.zoom.us/u/Marv)\
**Post date:** [May 14, 2020, 11:00am UTC](https://devforum.zoom.us/t/oauth-app-authenticate-in-an-external-application/16712/3 "2020-05-14T11:00:48Z")

</div>

Hey @michael.zoom I am getting the authorization code. But the Problem is i want to authenticate myself through a Nodejs script. At the moment i logging in from the App Marketplace and start my App. But i want to authenticate myself not through the browser.

---

<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:** [May 19, 2020, 4:14pm UTC](https://devforum.zoom.us/t/oauth-app-authenticate-in-an-external-application/16712/4 "2020-05-19T16:14:41Z")

</div>

Hey @Marv,

You should use the [JWT auth flow](https://marketplace.zoom.us/docs/guides/auth/jwt) instead. 🙂

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, 9:31pm UTC](https://devforum.zoom.us/t/oauth-app-authenticate-in-an-external-application/16712/5 "2020-08-21T21:31:16Z")

</div>

Closed on August 21, 2020, 9:31pm UTC


