video_calls: Don’t request a scope for the Zoom OAuth session.

As requested by a Zoom reviewer for unclear reasons.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-06-22 16:18:21 -07:00
parent 8b2d6806ea
commit 30ab0524b5

View File

@@ -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,