The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
enable linkedin settings
Isaiah Hamilton3022a399df29
diff --git a/studio/pages/project/[ref]/auth/settings.tsx b/studio/pages/project/[ref]/auth/settings.tsxindex 275882d1a15..8a8ca64d2b0 100644--- a/studio/pages/project/[ref]/auth/settings.tsx+++ b/studio/pages/project/[ref]/auth/settings.tsx@@ -377,6 +377,9 @@ const Settings = () => {'EXTERNAL_GITLAB_ENABLED','EXTERNAL_GITLAB_CLIENT_ID','EXTERNAL_GITLAB_SECRET',+ 'EXTERNAL_LINKEDIN_ENABLED',+ 'EXTERNAL_LINKEDIN_CLIENT_ID',+ 'EXTERNAL_LINKEDIN_SECRET','EXTERNAL_NOTION_ENABLED','EXTERNAL_NOTION_CLIENT_ID','EXTERNAL_NOTION_SECRET',@@ -418,6 +421,9 @@ const Settings = () => {EXTERNAL_GOOGLE_ENABLED: model.EXTERNAL_GOOGLE_ENABLED,EXTERNAL_GOOGLE_CLIENT_ID: model.EXTERNAL_GOOGLE_CLIENT_ID || undefined,EXTERNAL_GOOGLE_SECRET: model.EXTERNAL_GOOGLE_SECRET || undefined,+ EXTERNAL_LINKEDIN_ENABLED: model.EXTERNAL_NOTION_ENABLED || undefined,+ EXTERNAL_LINKEDIN_CLIENT_ID: model.EXTERNAL_NOTION_CLIENT_ID || undefined,+ EXTERNAL_LINKEDIN_SECRET: model.EXTERNAL_NOTION_SECRET || undefined,EXTERNAL_NOTION_ENABLED: model.EXTERNAL_NOTION_ENABLED || undefined,EXTERNAL_NOTION_CLIENT_ID: model.EXTERNAL_NOTION_CLIENT_ID || undefined,EXTERNAL_NOTION_SECRET: model.EXTERNAL_NOTION_SECRET || undefined,@@ -670,6 +676,35 @@ const Settings = () => {</>)}<Divider light />+ <ToggleField+ name="EXTERNAL_LINKEDIN_ENABLED"+ addOns={+ externalProvidersModel.EXTERNAL_LINKEDIN_ENABLED && (+ <a+ className="pl-4 text-gray-400"+ href="https://www.linkedin.com/developers/apps"+ target="_blank"+ >+ Create new credentials+ </a>+ )+ }+ />+ {externalProvidersModel.EXTERNAL_LINKEDIN_ENABLED && (+ <>+ <AutoField+ name="EXTERNAL_LINKEDIN_CLIENT_ID"+ showInlineError+ errorMessage="Please enter the client id."+ />+ <SecretField+ name="EXTERNAL_LINKEDIN_SECRET"+ showInlineError+ errorMessage="Please enter the secret."+ />+ </>+ )}+ <Divider light /><ToggleFieldname="EXTERNAL_NOTION_ENABLED"addOns={diff --git a/studio/stores/jsonSchema/auth_gotrue_config.json b/studio/stores/jsonSchema/auth_gotrue_config.jsonindex 1c8bcbd80ae..ef5bfe5a343 100644--- a/studio/stores/jsonSchema/auth_gotrue_config.json+++ b/studio/stores/jsonSchema/auth_gotrue_config.json@@ -187,6 +187,18 @@"title": "Google secret","type": "string"},+ "EXTERNAL_LINKEDIN_ENABLED": {+ "title": "Linkedin enabled",+ "type": "boolean"+ },+ "EXTERNAL_LINKEDIN_CLIENT_ID": {+ "title": "Linkedin client ID",+ "type": "string"+ },+ "EXTERNAL_LINKEDIN_SECRET": {+ "title": "Linkedin secret",+ "type": "string"+ },"EXTERNAL_NOTION_ENABLED": {"title": "Notion enabled","type": "boolean"