The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: Slack OIDC enabled badge (#28029)
Alaister Young939de55a21f6
diff --git a/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx b/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsxindex edda3ac3ace..eb4855d4226 100644--- a/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx+++ b/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx@@ -79,11 +79,14 @@ const ProviderForm = ({ config, provider }: ProviderFormProps) => {provider.title === 'LinkedIn (OIDC)' &&config &&(config as any)['EXTERNAL_LINKEDIN_OIDC_ENABLED']+ const isSlackOIDCEnabled =+ provider.title === 'Slack (OIDC)' && config['EXTERNAL_SLACK_OIDC_ENABLED']const isExternalProviderAndEnabled: boolean =config && (config as any)[`EXTERNAL_${provider?.title?.toUpperCase()}_ENABLED`]// [Joshen] Doing this check as SAML doesn't follow the same naming structure as the other provider options- const isActive: boolean = isSAMLEnabled || isExternalProviderAndEnabled || isLinkedInOIDCEnabled+ const isActive: boolean =+ isSAMLEnabled || isExternalProviderAndEnabled || isLinkedInOIDCEnabled || isSlackOIDCEnabledconst INITIAL_VALUES = generateInitialValues()const onSubmit = (values: any, { resetForm }: any) => {