I have been trying to call the API to just get the list of users, using the calculated JWT token in the authorization header, and I am getting an invalid token error:
{“code”:124,“message”:“Invalid access token.”}
and here is the PHP curl data layout, echoed out:
[10002] => https://api.zoom.us/v2/users?status=active&page_size=30&page_number=1
[19913] => 1
[10102] =>
[68] => 10
[13] => 30
[84] => 2
[10036] => GET
[10023] => Array
(
[0] => authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZ…(most deleted)
)
My app is an SDK app, and I used the client ID and secret to generate the JWT Token. I think I know it is the correct token because it works to bring up the client view meeting using the zoom javascript library I got from github.
So, question 1: WIth the API calls, is the token used supposed to be the JWT token? I am NOT using OAuth at all right now, although I did get my callback to work save the OAuth token separately. If not, what “token” should I be using?? The word token is used for really varied things as there are a bunch of them.
Question 2: Since JWT is being depracated and dropped, is my assumption that the client ID and client secret from the sdk app what I am supposed to be using to create the JWT token?
Thanks,
Ben Cahan