mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? add "Learn more" link for enterprise mcp auth <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Added a link to enterprise MCP authentication guidance in the advanced SSO settings. * Clarified the field label and description by updating “IDJAG” to “ID-JAG” terminology. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
40 lines
1.3 KiB
TypeScript
40 lines
1.3 KiB
TypeScript
import type { UseFormReturn } from 'react-hook-form'
|
|
import { FormControl, FormField, Input } from 'ui'
|
|
import { CollapsibleCardSection } from 'ui-patterns/CollapsibleCardSection'
|
|
import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout'
|
|
|
|
import type { SSOConfigFormSchema } from './SSOConfig'
|
|
import { InlineLink } from '@/components/ui/InlineLink'
|
|
import { DOCS_URL } from '@/lib/constants'
|
|
|
|
export const SSOAdvancedSettings = ({ form }: { form: UseFormReturn<SSOConfigFormSchema> }) => (
|
|
<CollapsibleCardSection
|
|
title="Advanced settings"
|
|
description={
|
|
<>
|
|
Required for enterprise-managed MCP authentication.{' '}
|
|
<InlineLink href={`${DOCS_URL}/guides/platform/sso/enterprise-mcp-authentication`}>
|
|
Learn more
|
|
</InlineLink>
|
|
.
|
|
</>
|
|
}
|
|
>
|
|
<FormField
|
|
control={form.control}
|
|
name="idjagIssuerUrl"
|
|
render={({ field }) => (
|
|
<FormItemLayout
|
|
layout="flex-row-reverse"
|
|
label="ID-JAG Issuer"
|
|
description="The ID-JAG issuer URL of your identity provider."
|
|
>
|
|
<FormControl>
|
|
<Input placeholder="https://your-org.okta.com" {...field} />
|
|
</FormControl>
|
|
</FormItemLayout>
|
|
)}
|
|
/>
|
|
</CollapsibleCardSection>
|
|
)
|