Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

enable zoom settings

Isaiah Hamiltona0c46d713fe3
diff --git a/studio/pages/project/[ref]/auth/settings.tsx b/studio/pages/project/[ref]/auth/settings.tsx
index 8a8ca64d2b0..f16471b39b8 100644
--- a/studio/pages/project/[ref]/auth/settings.tsx
+++ b/studio/pages/project/[ref]/auth/settings.tsx
@@ -395,6 +395,9 @@ const Settings = () => {
'EXTERNAL_SPOTIFY_ENABLED',
'EXTERNAL_SPOTIFY_CLIENT_ID',
'EXTERNAL_SPOTIFY_SECRET',
+ 'EXTERNAL_ZOOM_ENABLED',
+ 'EXTERNAL_ZOOM_CLIENT_ID',
+ 'EXTERNAL_ZOOM_SECRET',
])}
model={{
EXTERNAL_APPLE_ENABLED: model.EXTERNAL_APPLE_ENABLED,
@@ -439,6 +442,9 @@ const Settings = () => {
EXTERNAL_SPOTIFY_ENABLED: model.EXTERNAL_SPOTIFY_ENABLED,
EXTERNAL_SPOTIFY_CLIENT_ID: model.EXTERNAL_SPOTIFY_CLIENT_ID || undefined,
EXTERNAL_SPOTIFY_SECRET: model.EXTERNAL_SPOTIFY_SECRET || undefined,
+ EXTERNAL_ZOOM_ENABLED: model.EXTERNAL_ZOOM_ENABLED,
+ EXTERNAL_ZOOM_CLIENT_ID: model.EXTERNAL_ZOOM_CLIENT_ID || undefined,
+ EXTERNAL_ZOOM_SECRET: model.EXTERNAL_ZOOM_SECRET || undefined,
}}
onChangeModel={(model) => setExternalProvidersModel(model)}
onReset={() => onFormReset()}
@@ -845,6 +851,35 @@ const Settings = () => {
/>
</>
)}
+ <Divider light />
+ <ToggleField
+ name="EXTERNAL_ZOOM_ENABLED"
+ addOns={
+ externalProvidersModel.EXTERNAL_ZOOM_ENABLED && (
+ <a
+ className="pl-4 text-gray-400"
+ href="https://developers.zoom.us/"
+ target="_blank"
+ >
+ Create new credentials
+ </a>
+ )
+ }
+ />
+ {externalProvidersModel.EXTERNAL_ZOOM_ENABLED && (
+ <>
+ <AutoField
+ name="EXTERNAL_ZOOM_CLIENT_ID"
+ showInlineError
+ errorMessage="Please enter the client id."
+ />
+ <SecretField
+ name="EXTERNAL_ZOOM_SECRET"
+ showInlineError
+ errorMessage="Please enter the secret."
+ />
+ </>
+ )}
</SchemaFormPanel>
</div>
diff --git a/studio/stores/jsonSchema/auth_gotrue_config.json b/studio/stores/jsonSchema/auth_gotrue_config.json
index ef5bfe5a343..a8755c14ead 100644
--- a/studio/stores/jsonSchema/auth_gotrue_config.json
+++ b/studio/stores/jsonSchema/auth_gotrue_config.json
@@ -259,6 +259,18 @@
"title": "Spotify secret",
"type": "string"
},
+ "EXTERNAL_ZOOM_ENABLED": {
+ "title": "Zoom enabled",
+ "type": "boolean"
+ },
+ "EXTERNAL_ZOOM_CLIENT_ID": {
+ "title": "Zoom client ID",
+ "type": "string"
+ },
+ "EXTERNAL_ZOOM_SECRET": {
+ "title": "Zoom secret",
+ "type": "string"
+ },
"SMTP_ADMIN_EMAIL": {
"title": "SMTP Admin Email",
"type": "string"