Multiple scopes authorization

API Endpoint(s) and/or Zoom API Event(s)

OAuth Authorization (/v2/authorize)

Description

I’m trying to authorize my app with multiple granular scopes:

  • user:read:email:admin

  • meeting:read:meeting:admin

Each scope works individually, but the authorization fails when both scopes are requested together in a single OAuth URL.

App is Ready for local test

There is similar topic about this issue: OAuth Error 4700 When Using Multiple Scopes (user:read:user and meeting:read:list_meetings)

Error

invalid scope

How to Reproduce

The following URLs demonstrate the issue:

:check_mark: Works (single scope)

https://marketplace.zoom.us/v2/authorize?client_id=123&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=meeting:read:meeting:admin%20user:read:email:admin&state=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJleHAiOjE3NjMxMTc1MDcsImlhdCI6MTc2MzExNzIwNywiY3NyZl90b2tlbiI6eyJ2YWx1ZSI6IjZlMTE3NmE1LWQzMTUtNDY0Yy04ODUyLTVlMjA4ZjdmZTk2MCIsInNpdGVfaG9zdCI6ImxvY2FsaG9zdDozMDAwIn19.R_xxwh1d11ekRcb5gzxvWtcrykTfpoV7Pb2G1DU_iHEn1YQXZxWO6iUd-0OkxT4NWL6FhOAWHLdHVFAKn5HI2w&_zmp_login_state=4KwhixIwRZWoMSmTPc1HYw

:check_mark: Works (single scope)

https://marketplace.zoom.us/v2/authorize?client_id=123&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=user:read:email:admin&state=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJleHAiOjE3NjMxMTc1MDcsImlhdCI6MTc2MzExNzIwNywiY3NyZl90b2tlbiI6eyJ2YWx1ZSI6IjZlMTE3NmE1LWQzMTUtNDY0Yy04ODUyLTVlMjA4ZjdmZTk2MCIsInNpdGVfaG9zdCI6ImxvY2FsaG9zdDozMDAwIn19.R_xxwh1d11ekRcb5gzxvWtcrykTfpoV7Pb2G1DU_iHEn1YQXZxWO6iUd-0OkxT4NWL6FhOAWHLdHVFAKn5HI2w&_zmp_login_state=4KwhixIwRZWoMSmTPc1HYw

Fails (multiple scopes)

https://marketplace.zoom.us/v2/authorize?client_id=123&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=meeting:read:meeting:admin%20user:read:email:admin&state=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJleHAiOjE3NjMxMTc1MDcsImlhdCI6MTc2MzExNzIwNywiY3NyZl90b2tlbiI6eyJ2YWx1ZSI6IjZlMTE3NmE1LWQzMTUtNDY0Yy04ODUyLTVlMjA4ZjdmZTk2MCIsInNpdGVfaG9zdCI6ImxvY2FsaG9zdDozMDAwIn19.R_xxwh1d11ekRcb5gzxvWtcrykTfpoV7Pb2G1DU_iHEn1YQXZxWO6iUd-0OkxT4NWL6FhOAWHLdHVFAKn5HI2w&_zmp_login_state=4KwhixIwRZWoMSmTPc1HYw

1 Like

Hi @demo_zoom_demosandbo , are you trying to add the scopes programmatically or you have them added to the app? The apps are designed to be scoped on the Zoom Marketplace portal. Please all the scopes in the portal, save, and then proceed with authorization and getting the valid access token.