# New App - Which Type to use - OAuth or JWT

**URL:** <https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587>\
**Category:** API and Webhooks\
**Created:** [June 28, 2020, 4:09pm UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587 "2020-06-28T16:09:27Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhinkle](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@jhinkle](https://devforum.zoom.us/u/jhinkle)\
**Post date:** [June 28, 2020, 4:09pm UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587/1 "2020-06-28T16:09:28Z")

</div>

I am developing a private application for a company that wants its users to set meeting via zoom with their clients.

Communication with zoom will be from a central server where each user has provided information on their own personal zoom account.

My server will acquire the date/time of the meeting and then perform the required API calls to create a meeting in a specific user’s account.

I thought OAuth was the correct choice until I read that zoom would have to contact the user to grant permission to access their account which is currently outside the scope of the project (note: User provides zoom login and password information to my server for use in setting meetings.)

The only thing I need to accomplish is simply creating a meeting for a specific date/time.

Which should I use - OAuth or JWT?

Thanks

---

<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:** [June 29, 2020, 10:48pm UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587/2 "2020-06-29T22:48:35Z")

</div>

Hey @jhinkle,

I would suggest using a [JWT App](https://marketplace.zoom.us/docs/guides/build/jwt-app), which are meant to generate [JWT Tokens](https://marketplace.zoom.us/docs/guides/auth/jwt) on the server side to make authenticated requests to our [API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate).

`"Authorization": "Bearer JWT_TOKEN_HERE"`

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![jhinkle](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@jhinkle](https://devforum.zoom.us/u/jhinkle)\
**Post date:** [June 30, 2020, 11:30am UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587/3 "2020-06-30T11:30:40Z")

</div>

Thanks Tommy. Do I need to create a JWT for each of the independent zoom accounts I will be setting meetings for or can I use just one?

---

<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:** [June 30, 2020, 10:04pm UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587/4 "2020-06-30T22:04:35Z")

</div>

Hi @jhinkle you will create one JWT app which has privilege to authorize requests on behalf of all users on the account.

With the presumption that these users are all on the same company account, the single API Key / Secret pair is used to generate tokens for all users.

---

<div class="post-metadata">

**Author:** ![jhinkle](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@jhinkle](https://devforum.zoom.us/u/jhinkle)\
**Post date:** [June 30, 2020, 10:10pm UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587/5 "2020-06-30T22:10:29Z")

</div>

No - that is why I asked the original question.

Each user has their own account, independent of each other.

I think I need OAuth but I see big hassles in that direction.

---

<div class="post-metadata">

**Author:** ![jhinkle](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@jhinkle](https://devforum.zoom.us/u/jhinkle)\
**Post date:** [June 30, 2020, 10:26pm UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587/6 "2020-06-30T22:26:25Z")

</div>

Each independent user is giving me their access information(user name, password, etc) - All I want to do is to set meeting for them.

What is the best approach?

---

<div class="post-metadata">

**Author:** ![jhinkle](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@jhinkle](https://devforum.zoom.us/u/jhinkle)\
**Post date:** [July 1, 2020, 3:57pm UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587/7 "2020-07-01T15:57:53Z")

</div>

Each independent user is giving me their access information(user name, password, etc) - All I want to do is to set meeting for them.

What is the best approach?

---

<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:** [July 1, 2020, 4:55pm UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587/8 "2020-07-01T16:55:29Z")

</div>

@jhinkle you will need to use OAuth. Your app will request specific scopes for data, then a user will need to authorize & install that app. You are required to receive direct authorization from any user you are creating meetings on behalf of. The sharing of JWT API Keys & Secrets is outside the Marketplace Terms of Service.

---

<div class="post-metadata">

**Author:** ![jhinkle](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@jhinkle](https://devforum.zoom.us/u/jhinkle)\
**Post date:** [July 1, 2020, 5:06pm UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587/9 "2020-07-01T17:06:08Z")

</div>

Let me ask my question a different way. Since the user is providing me all their information, How would a user set their own meeting using OAuth - why would a user have to authorize them self?

When you say they have to install that app – there is no app for them to install.

---

<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:** [July 6, 2020, 7:43pm UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587/10 "2020-07-06T19:43:08Z")

</div>

Hey @jhinkle,

Instead of the user providing you their username and password, they will [sign in with Zoom to your OAuth app](https://marketplace.zoom.us/docs/guides/auth/oauth#getting-access-token), granting you access to [make API requests on their behalf](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate).

Does that makes sense?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![jhinkle](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@jhinkle](https://devforum.zoom.us/u/jhinkle)\
**Post date:** [July 6, 2020, 8:56pm UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587/11 "2020-07-06T20:56:34Z")

</div>

Tommy - Thanks. Makes sense.

---

<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:** [July 8, 2020, 10:42pm UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587/12 "2020-07-08T22:42:22Z")

</div>

You are welcome! 🙂

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, 10:37pm UTC](https://devforum.zoom.us/t/new-app-which-type-to-use-oauth-or-jwt/22587/13 "2020-08-21T22:37:43Z")

</div>

Closed on August 21, 2020, 10:37pm UTC


