mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user