Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New scopes by ZOOM / Plugin not work! #583

Closed
amendezinserver opened this issue Mar 25, 2024 · 5 comments · Fixed by #590
Closed

New scopes by ZOOM / Plugin not work! #583

amendezinserver opened this issue Mar 25, 2024 · 5 comments · Fixed by #590
Assignees
Labels
bug Fixes problems or reduces technical debt
Projects

Comments

@amendezinserver
Copy link

In relation to the changes introduced in the Moodle <> Zoom integration using OAuth described on the Zoom website (https://developers.zoom.us/docs/integrations/oauth-scopes-overview) it is not possible to use the Zoom plugin .

With the latest version (5.2.0) I get the following errors:

Connection status: Connection failed:The Zoom OAuth configuration is missing these required scopes: meeting:read:admin, meeting:write:admin, user:read:admin

Anyone else with this problem?
Do you know which scopes are the ones that need to be declared?
Is a new version of the ZOOM plugin necessary?

Thank you very much in advance!

@jrchamp
Copy link
Collaborator

jrchamp commented Mar 26, 2024

Thanks @amendezinserver! I just saw that Zoom had changed the OAuth scopes for newly created integrations, and yes, if people are unable to use the Legacy OAuth scopes, then we will need to - quickly - update the plugin to:

  1. Document the new set of required and optional scopes when an integration is using the newly created Granular Scopes.
  2. Modify the code to check for either the Granular Scope or the Legacy Scope when checking permissions.

Questions that need to be answered:

  1. What are the new Granular Scope equivalents for the functionality we offer?
  2. Is it possible to upgrade an existing integration from Legacy Scopes to Granular Scopes?
  3. Is it possible to create new integrations that use Legacy Scopes?

Based on what I read, it seems like both 2 and 3 are "No".

@jrchamp jrchamp added the bug Fixes problems or reduces technical debt label Mar 26, 2024
@jrchamp jrchamp added this to Needs triage in Issues Mar 28, 2024
@jrchamp jrchamp moved this from Needs triage to To Do in Issues Mar 28, 2024
@jrchamp jrchamp self-assigned this Mar 28, 2024
@jport500
Copy link

Happy to help test the fix.

@haietza
Copy link
Contributor

haietza commented Apr 2, 2024

@jrchamp I started re-reviewing API calls and related granular scopes, but it looks like there are quite a few that have not been implemented yet.

From https://developers.zoom.us/docs/internal-apps/oauth-scopes-overview/:

Some resources may not yet have granular scopes available for them. More granular scopes from different resources will be made available in the future.

I'll try to keep an eye on it and share a list of needed and optional granular scopes when they are all implemented.

@jrchamp jrchamp moved this from To Do to Has Pull Request in Issues Apr 25, 2024
Issues automation moved this from Has Pull Request to Done Apr 25, 2024
@amendezinserver
Copy link
Author

Thank you very much!

@jrchamp
Copy link
Collaborator

jrchamp commented Apr 26, 2024

@amendezinserver @jport500 @haietza

v5.2.1 has been released which should address most of the granular scopes problems. Zoom does not yet have granular scope support for Tracking Fields, but everything else should work. If you run into any problems, please open a new GitHub issue so we can have a focused place for each problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes problems or reduces technical debt
Projects
Development

Successfully merging a pull request may close this issue.

4 participants