# OAuth and Creating meetings for individual autheticated users

**URL:** <https://devforum.zoom.us/t/oauth-and-creating-meetings-for-individual-autheticated-users/18364>\
**Category:** API and Webhooks\
**Created:** [May 19, 2020, 10:36pm UTC](https://devforum.zoom.us/t/oauth-and-creating-meetings-for-individual-autheticated-users/18364 "2020-05-19T22:36:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![izwicky18](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/izwicky18/32/1010_2.png) [@izwicky18](https://devforum.zoom.us/u/izwicky18)\
**Post date:** [May 19, 2020, 10:36pm UTC](https://devforum.zoom.us/t/oauth-and-creating-meetings-for-individual-autheticated-users/18364/1 "2020-05-19T22:36:10Z")

</div>

Hello,

In our platform we want to integrate Zoom to create automatic meetings after a user books an appointment with a teacher. We would like to know the following:

1. Do we only need Teachers to Authorize our platform to connect to their Zoom account? Or do we need them to provide an API key?
2. Can this be done dynamically for each Teacher?
3. We plan on using OAuth for this integration, shall we look into using JWT by any chance?

Thanks for your guidance!

---

<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 21, 2020, 11:16pm UTC](https://devforum.zoom.us/t/oauth-and-creating-meetings-for-individual-autheticated-users/18364/2 "2020-05-21T23:16:55Z")

</div>

Hi @izwicky18, to allow users to authorize you to make API calls on their behalf, you will need to use OAuth.

If the teacher is the host of the meeting, they are the only ones who will need to authorize your platform.

This can be done dynamically for each teacher, but each teacher will need to authorize your application.

JWT should only be used if all teachers are on your account. If there are any teachers outside of your account who will be using the platform, they will not be accessible by a JWT (as API Keys/Secrets should never be shared)

Let us know if we can provide any further help!

---

<div class="post-metadata">

**Author:** ![izwicky18](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/izwicky18/32/1010_2.png) [@izwicky18](https://devforum.zoom.us/u/izwicky18)\
**Post date:** [May 25, 2020, 3:57am UTC](https://devforum.zoom.us/t/oauth-and-creating-meetings-for-individual-autheticated-users/18364/3 "2020-05-25T03:57:43Z")

</div>

Hey @michael.zoom, thanks for your answer!

Then OAuth is the way to go for the project. We have to program this using PHP and store any information in MySQL (Teacher’s zoom ID maybe?).

I’m a bit lost as to how to get the Auth Token, userID for each user authorized user which we will call the API on their behalf (This will be automated). I can figure out the coding side but the logic is not clear to me. Can you please show me what’s the process?

I already used the Code Generator `https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate` and it gives me an idea but I don’t get how I will dynamically put the teacher’s ID.

Still, I’m not sure if i’m headed in the right direction with the link above.

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:** [May 28, 2020, 4:52pm UTC](https://devforum.zoom.us/t/oauth-and-creating-meetings-for-individual-autheticated-users/18364/4 "2020-05-28T16:52:07Z")

</div>

Hey @izwicky18,

> [@izwicky18](#):
>
> Then OAuth is the way to go for the project. We have to program this using PHP and store any information in MySQL (Teacher’s zoom ID maybe?).

Correct, along with the teachers access and refresh tokens.

> [@izwicky18](#):
>
> Can you please show me what’s the process?

Here is our OAuth guide which will show you the logic:

[https://marketplace.zoom.us/docs/guides/auth/oauth](https://marketplace.zoom.us/docs/guides/auth/oauth)

Let me know if you have additional questions! 🙂

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:35pm UTC](https://devforum.zoom.us/t/oauth-and-creating-meetings-for-individual-autheticated-users/18364/5 "2020-08-21T21:35:00Z")

</div>

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


