JWT to Server-to-Server OAuth Migration

Web SDK Version: v2.11.0

Hi, I have a Meeting SDK app & a JWT app which I have been using for my development team with no issues for the past few months.

However, since JWT app is going to be deprecated, I’ve created a Server-to-Server OAuth app and manage to use this api: https://zoom.us/oauth/token?grant_type=account_credentials&account_id=[account_id] to generate an access token successfully.

The access token was passed into the JoinOptions as the signature and into the authorization header in our api calls, the same way as how we did with our JWT app token. However, we got an error “Fail to join the meeting” when joining the meeting .

In the console, this api was called: https://zoom.us/api/v1/wc with this error response:

Would appreciate if I could get some help on what have I missed out or done wrongly here? Thanks!

(We are using our Meeting SDK app’s SDK Key as sdkKey in JoinOptions, if this helps.)

Hi @elaine ,

The access token which is returned from https://zoom.us/oauth/token?grant_type=account_credentials&account_id=[account_id] needs to be used to called ZOOM REST API.

This access token should be used in the authorization: bearer {acess_token} header when calling the APIs.
Please refer to the list of V2 APIs here

We recently switched from using JWT tokens to server-to-server authentication. However, we are now facing challenges with reading and writing data for multiple users. Previously, we used a single JWT token for all users. We are now seeking a solution that will work for multiple users with a single server-to-server application.

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