Files
supabase/apps/studio/components/interfaces/Auth/CustomAuthProviders/index.tsx
2026-04-01 10:22:37 +02:00

39 lines
1.2 KiB
TypeScript

import { Badge } from 'ui'
import {
PageSection,
PageSectionAside,
PageSectionContent,
PageSectionDescription,
PageSectionMeta,
PageSectionSummary,
PageSectionTitle,
} from 'ui-patterns/PageSection'
import { CustomAuthProvidersList } from './CustomAuthProvidersList'
import { DocsButton } from '@/components/ui/DocsButton'
import { DOCS_URL } from '@/lib/constants'
export const CustomAuthProviders = () => {
return (
<PageSection id="custom-providers">
<PageSectionMeta>
<PageSectionSummary>
<div className="flex items-center gap-x-2">
<PageSectionTitle>Custom Providers</PageSectionTitle>
<Badge variant="success">New</Badge>
</div>
<PageSectionDescription>
Configure OAuth/OIDC providers for this project using your own issuer or endpoints.
</PageSectionDescription>
</PageSectionSummary>
<PageSectionAside>
<DocsButton href={`${DOCS_URL}/guides/auth/custom-oauth-providers`} />
</PageSectionAside>
</PageSectionMeta>
<PageSectionContent>
<CustomAuthProvidersList />
</PageSectionContent>
</PageSection>
)
}