I am able to read users using Okta Workflows Zoom app…
I was trying to make a Zoom custom API call GET /phone/users/{userId} from Okta Workflows and I was getting:
“code”: 104, “message”: “Invalid access token, does not contain scopes:[phone:read, phone:read:admin].”
How could I include the scopes [phone:read, phone:read:admin] into Okta Workflows Zooom app?
Thank you for posting in the Zoom Developer Forum. To begin, can you clarify if you are creating a Zoom App Marketplace or OAuth App ? For both Marketplace app types, you will need to make sure you set the appropriate scopes. To do so, you would select the phone:read and phone:read:admin scopes for the App. The scopes are located on the Scopes Tab of the Marketplace App. Here is our help documentation on Adding Scopes to your Marketplace App for reference:
I think this is a Zoom app called Okta Workflows that we already have added.
I am just not sure how to add more scopes. When I go to the app and I go to Scopes tab I can’t find the button to add scopes.
Thanks for the clarifications @srecko.anzic ! It sounds like your user profile may not have the appropriate scopes. Can you share a screen shot of the message you are seeing ? Can share if you are trying to make an API call from Okta workflow to the Zoom Rest API Get a user's profile endpoint. Is that correct ?
Hi Donte, I am not sure if I follow what you are asking me to send you over.
Here is the error message that I get when I make a GET /phone/users/shRkpqUwREymX-uiyyUzFw
Hi @TPCoMatt , this is not possible with Okta Zoom App. You will have to create your own Zoom app in the Connection Builder in Okta Workflows. On Zoom side you will do the same and add the required scopes. This would require advanced connection builder skills because you will have to deal with pagination. Good luck!