Skip to content

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

Chore/add linkedin warning (#17732)

Terry Sutton1ecdd19d4dd5
diff --git a/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx b/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
index d0d14f5a1de..f16a7e6376e 100644
--- a/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
+++ b/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
@@ -2,7 +2,19 @@ import * as Tooltip from '@radix-ui/react-tooltip'
import { PermissionAction } from '@supabase/shared-types/out/constants'
import { useState } from 'react'
import ReactMarkdown from 'react-markdown'
-import { Alert, Button, Collapsible, Form, IconCheck, IconChevronUp, Input } from 'ui'
+import {
+ Alert,
+ AlertDescription_Shadcn_,
+ AlertTitle_Shadcn_,
+ Alert_Shadcn_,
+ Button,
+ Collapsible,
+ Form,
+ IconAlertTriangle,
+ IconCheck,
+ IconChevronUp,
+ Input,
+} from 'ui'
import { useParams } from 'common'
import { components } from 'data/api'
@@ -132,6 +144,25 @@ const ProviderForm = ({ config, provider }: ProviderFormProps) => {
"
>
<div className="mx-auto my-6 max-w-lg space-y-6">
+ {provider.title === 'LinkedIn' && (
+ <Alert_Shadcn_ variant="warning">
+ <IconAlertTriangle strokeWidth={2} />
+ <AlertTitle_Shadcn_>
+ LinkedIn provider temporarily unavailable
+ </AlertTitle_Shadcn_>
+ <AlertDescription_Shadcn_>
+ Linkedin has updated their OAuth APIs, which has broken the current Supabase
+ implementation. We're actively tracking{' '}
+ <a
+ className="underline"
+ href="https://github.com/supabase/gotrue/issues/1216"
+ >
+ this issue
+ </a>{' '}
+ and you can subscribe to it for future updates.
+ </AlertDescription_Shadcn_>
+ </Alert_Shadcn_>
+ )}
{Object.keys(provider.properties).map((x: string) => (
<FormField
key={x}