Description
I am working on updating our authentication from JWT to OAuth. I followed the instructions to create a Server-to-Server OAuth app, noting the account ID, client key, and client secret. Now I am attempting to do some test calls in Postman, to the meetings API.
I can successfully pull a Bearer Token, but when I then use it to make the call, the endpoint returns:
"code": 124,
"message": "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
1.) Create Server-to-Server OAuth application.
2.) Note account ID, client key, and client secret
3.) Set up Postman for OAuth 2.0 authentication, and get new access token
4.) Use that token for a call to the endpoint.
5.) Error is returned.
In Postman, how should I enter this in their OAuth authentication flow? I’ve been trying to do a custom call to /oauth/token, but I can’t get it to work. I get a 405 error.
To be more specific, I had a GET call to /oauth/token, with account_credentials for grant type and account ID specified, plus a Base64 representation of client key and secret (both as an Authorization header and body). I’m unable to get that to work.
I’m trying to prototype and validate in Postman before I start moving this into my production codebase. I appreciate your help and support.
Hi I also got the same error . I have a member account . I used the client credentials that admin gave. after taking the token I cant get MeetingDetails. what is the reason. Here is my code,
import requests as rq
import base64
import json
cID=‘…’
cSec=‘…’
userID=“…”
#credential_ID:credential_Secret
credentials= f"{cID}:{cSec}" #encode for base =64
bStream= credentials.encode(“ascii”) #bit stream
encode64= base64.b64encode(bStream)
sEncode= encode64.decode(“ascii”)
my error : "resulted in a 401 Unauthorized response: {“code”:124,“message”:“This API does not support client credentials for authorization.”} "
I can’t download my meeting recordings.
I have a JWT app that has been doing this for 2 years but it will be deprecated in June 2023.
I tried to create an OAuth app but I can’t whitelist a domain because students need to be able to enter the Zoom meeting as soon as the host starts the room and the students don’t all have the same domain.