Description
I’m trying to verify if the Zoom meeting URL provided in my application by user is valid or not, I cannot use user auth flow as this needs to be app-to-app verification.
I previously used JWT app, and currently moved to SDK app.
I’m getting the access_token
through this call
curl --location --request POST 'https://zoom.us/oauth/token?redirect_uri=https://www.google.com&grant_type=client_credentials' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic <clientId:SecretKey Base64encoded>'
Then I’m using the above mentioned access token to retrieve details of a meeting through meetings api, I’m getting This API does not support client credentials for authorization
Error?
{
“code”: 124,
“message”: “This API does not support client credentials for authorization.”
}
How To Reproduce
Steps to reproduce the behavior:
- create a SDK App
- Collect clientId and Secret Key from App Credentials page
- Call https://zoom.us/oauth/token?redirect_uri=https://www.google.com&grant_type=client_credentials with Authorization header
- Collect the
access_token
from response - Create a meeting and collect the meetingId
- Call https://api.zoom.us/v2/meetings/ with Authorization header like
“bearer access_token” - Check the response
I cannot use user auth, so Oauth is out of option for me.Tried server-to-server app as well , but it throws same error.
Its clearly written that its possible, not sure If I’m missing anything :
Please let me know how can I access API with access_token
retrived through client credentials grant flow