oAuth2 Authentication for Zoom Room Schedule API

There’s notification showing in Zoom that the JWT authentication will be deprecated soon.

“The JWT app type will be deprecated in June, 2023. We recommend that you create Server-to-Server OAuth or OAuth apps to replace the functionality of a JWT app in your account”.

Zoom is suggesting to use oAuth2 for replace the functionality of the JWT. But when we use the oAuth2 in Room Scheduling API, We will get the following error.
“This API does not support oAuth2 for authorization.”

API - https://api.zoom.us/v2/rooms/sb3YVaZzTQWtHI11JfSMxg/meetings

What might be the reason.

Hi @pempeigne

Thanks for reaching out to the Zoom Developer Forum and Welcome to our Community!
Yes, we are going to be deprecating the JWT app next year in June and we are encouraging developers to start migrating their JWT apps to our Server-to-Sever OAuth app.

Here is a guide on How to use the new Server-to-Server app

Your error might be happening because you are using an OAuth app instead of the Server-to-Server.

Let me know if this helps!
Cheers
Elisa

Thank You Elisa,

I have made sure that I’m using the Server-to-Server auth. Using the below API.

https://zoom.us/oauth/token?grant_type=account_credentials

Please see the attached image.

server-toserver.png

Please let me know if this is not the correct one.

Thanks & Regards,
Sumith

Hi @pempeigne

That is correct, you are using the right app the Server-to-Server OAuth,
Make sure to add the account ID when making the request, it should look like this:

https://zoom.us/oauth/token?grant_type=account_credentials&account_id={YOUR_ACCOUNT_ID}

Hi Elisa,

Yes I did use the account ID , See below image .

AccountId.png

Best Regards,
Sumith

That looks right, thanks a lot ! @Patrice.
Allow me to do some more research with my team about this. In the meantime I would suggest you to continue using JWT and I will update you accordingly

Thank You Elisa,

Please let me know once you come to some findings.

Thanks a lot for this support.

Best Regards,
Sumith

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