Description
I followed the steps to create an S2S oauth app in marketplace and tried to use the return access token to call api. Yet, I cannot use my token to call any api.
I added some scopes to that app including meeting:write:admin user:read:admin user:write:admin.
Error?
When i call api that should be allowed, it will return
{
"code": 124,
"message": "Invalid access token."
}
API Endpoint/s?
GET {us-api}/users?status=active
GET {us-api}/users
POST {us-api}/users/{userId}/meetings
GET {us-api}/users/{userId}/meetings
How To Reproduce
Steps to reproduce the behavior:
*1. Using postman to call oauth api, and return normally
POST https://zoom.us/oauth/token?grant_type=account_credentials&account_id={accountId}
username = {clientId}
Password={clientSecret}
Response:
{
"access_token": {token}
"token_type": "bearer",
"expires_in": 3599,
"scope": "meeting:write:admin user:read:admin user:write:admin"
}
*2. Call apis mentioned above
*3. Receive error as mentioned above
Additional context
The app owner is the account owner which should have all right to do things but it just failed