Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
video_calls: Don’t request a scope for the Zoom OAuth session.
Anders Kaseorg30ab0524b52c
diff --git a/zerver/views/video_calls.py b/zerver/views/video_calls.pyindex 3e9d4e3101f..1995e4394fb 100644--- a/zerver/views/video_calls.py+++ b/zerver/views/video_calls.py@@ -45,7 +45,6 @@ def get_zoom_session(user: UserProfile) -> OAuth2Session:return OAuth2Session(settings.VIDEO_ZOOM_CLIENT_ID,redirect_uri=urljoin(settings.ROOT_DOMAIN_URI, "/calls/zoom/complete"),- scope=["meeting:write:admin"],auto_refresh_url="https://zoom.us/oauth/token",auto_refresh_kwargs={"client_id": settings.VIDEO_ZOOM_CLIENT_ID,