Skip to content

Commit 422c79b

Browse files
authored
Update Zoom.gs
Zoom changed how their OAuth scopes work, this is the format you have to use for all new apps and old apps are encouraged to migrate
1 parent aae9287 commit 422c79b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/Zoom.gs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ function getService_() {
5757
.setPropertyStore(PropertiesService.getUserProperties())
5858

5959
// Set the required scopes:
60-
// https://marketplace.zoom.us/docs/guides/zoom-app-marketplace/permissions#user-managed-app-scopes
61-
.setScope('user:read')
60+
// https://developers.zoom.us/docs/integrations/oauth-scopes-overview/#granular-scopes
61+
.setScope('user:read:user')
6262

6363
// Set the Authorization header for token requests.
6464
// https://marketplace.zoom.us/docs/guides/authorization/oauth-with-zoom#step-3-exchange-the-authorization-code-for-an-access-token

0 commit comments

Comments
 (0)