# Which type authentication: Oauth2 or JWT

**URL:** <https://devforum.zoom.us/t/which-type-authentication-oauth2-or-jwt/30852>\
**Category:** API and Webhooks\
**Created:** [September 21, 2020, 1:07pm UTC](https://devforum.zoom.us/t/which-type-authentication-oauth2-or-jwt/30852 "2020-09-21T13:07:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmichael](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tmichael/32/15650_2.png) [@tmichael](https://devforum.zoom.us/u/tmichael)\
**Post date:** [September 21, 2020, 1:07pm UTC](https://devforum.zoom.us/t/which-type-authentication-oauth2-or-jwt/30852/1 "2020-09-21T13:07:23Z")

</div>

Hi,

I’ve reviewed the Zoom API documentation and read about the differences between Oauth2 and JWT.

I would like to take the JWT route, but I’m not sure if it’s the best solution for my particular scenario.

I have an in-house, .Net Core web application that schedules calendar events for visiting faculty.

The back-end is written in c# running on a Windows 2016 Server.

I have a service account that is for api-use only. I want to use this account to schedule and manage Zoom meetings. No end users will be logging in with this account.

The Zoom API calls will be originating from the server in the back-end code. The methods will either get a list of Zoom meetings or create a new Zoom meeting for the service account.

With that said, would JWT be a viable route? Or should I use Oauth2?

Thank you!  
TM

---

<div class="post-metadata">

**Author:** ![jim.hubbard](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@jim.hubbard](https://devforum.zoom.us/u/jim.hubbard)\
**Post date:** [September 21, 2020, 5:39pm UTC](https://devforum.zoom.us/t/which-type-authentication-oauth2-or-jwt/30852/2 "2020-09-21T17:39:25Z")

</div>

I am doing this with JWT. Oauth2 required a redirect url that I didn’t want. I use a C# service to create a meeting and save the response info back to SQL.

---

<div class="post-metadata">

**Author:** ![tmichael](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tmichael/32/15650_2.png) [@tmichael](https://devforum.zoom.us/u/tmichael)\
**Post date:** [September 22, 2020, 1:17pm UTC](https://devforum.zoom.us/t/which-type-authentication-oauth2-or-jwt/30852/3 "2020-09-22T13:17:53Z")

</div>

Thanks Jim! Do you just create the meeting on behalf of a single user?

---

<div class="post-metadata">

**Author:** ![jim.hubbard](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@jim.hubbard](https://devforum.zoom.us/u/jim.hubbard)\
**Post date:** [September 22, 2020, 3:10pm UTC](https://devforum.zoom.us/t/which-type-authentication-oauth2-or-jwt/30852/4 "2020-09-22T15:10:58Z")

</div>

Yes. I don’t use the registrant, I just set up the meeting for one of our users and then invite the client via email. All the meetings require a waiting room so the host can let the client in when ready. I am doing this for a telemedicine application.

In the JSON you can get the start\_url and the join\_url for the host and client respectively.

Jim

---

<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:** [September 23, 2020, 5:51pm UTC](https://devforum.zoom.us/t/which-type-authentication-oauth2-or-jwt/30852/5 "2020-09-23T17:51:25Z")

</div>

Hey @jim.hubbard, thanks for sharing your approach!

@tmichael — I know we connected already offline, so feel free to send me any follow ups directly if you wish!

Best,  
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:** [October 24, 2020, 3:51am UTC](https://devforum.zoom.us/t/which-type-authentication-oauth2-or-jwt/30852/6 "2020-10-24T03:51:27Z")

</div>

Closed on October 24, 2020, 3:51am UTC

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