> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Web で SSO プロバイダーを編集

> SSO プロバイダーを編集するためのタブ付きインターフェース：SSO 設定、プロビジョニング（SCIM）、ドメイン管理

> [!WARNING]
>
> **Auth0 Universal Components機能は現在、[早期アクセス](/docs/docs/troubleshoot/product-lifecycle/product-release-stages)です。**
>
> 参加をご希望の場合は、Auth0 Supportまでお問い合わせください。
>
> この機能を使用することにより、Oktaの該当する無料トライアル規約および[Master Subscription Agreement](https://www.okta.com/legal)に同意したものとみなされます。

`SsoProviderEdit`コンポーネントは、[シングルサインオン](/docs/docs/ja-jp/authenticate/enterprise-connections/self-service-enterprise-configuration)プロバイダーを編集するための統一されたインターフェースを提供します。

読み込み中

SSO Provider Editコンポーネントのプレビュー

## サードパーティアプリケーションアクセスとCross App Access

これらのコントロールは、Organization が SSO 接続に完全にアクセスできる場合にのみ表示されます。アクセスが制限されている接続では、両方のフィールドが非表示になります。

**`use_for_third_party_client_access`** は、接続をサードパーティアプリケーションで使用できるようにします。Organization の `third_party_client_access` ポリシーが `"block"` に設定されている場合、このチェックボックスは表示されたまま無効化されます。Organization レベルでサードパーティアクセスを有効にするよう、まず管理者に求める説明メッセージが表示されます。

**`cross_app_access_resource_app`** は Cross App Access (XAA) を設定します。OIDC および Okta 接続では直接利用でき、SAML 接続では、事前に指定する必要がある OIDC ディスカバリー URL を介して利用できます。利用可否は `GET /my-org/config/identity-providers` によって制御されます。strategy の `cross_app_access_resource_app` 設定がない場合、このセクションは表示されません。

XAA は独立した認可経路であり、Organization レベルの `third_party_client_access` ポリシーと接続レベルの `use_for_third_party_client_access` 設定という、両方のサードパーティアクセス制御をバイパスします。

> [tab] React
>
> ## 設定要件
>
> **Auth0 Configuration が必要です**—テナントで
> My Organization API が設定されていることを確認してください。[設定ガイドを表示
> →](/docs/docs/ja-jp/get-started/universal-components/web/components/build-delegated-admin#enable-the-my-organization-api)
>
> ## インストール
>
> ```bash pnpm wrap lines theme={null}
> pnpm add @auth0/universal-components-react
> ```
>
> ```bash npm wrap lines theme={null}
> npm install @auth0/universal-components-react
> ```
>
> どちらのコマンドを実行しても、共有ユーティリティとAuth0連携に必要な@auth0/universal-components-coreの
> 依存関係もインストールされます。
>
> ## はじめに
>
> ```tsx wrap lines theme={null}
> import { SsoProviderEdit } from "@auth0/universal-components-react";
> import { useNavigate, useParams } from "react-router-dom";
>
> export function EditProviderPage() {
>   const { providerId } = useParams();
>   const navigate = useNavigate();
>
>   return (
>     <SsoProviderEdit
>       providerId={providerId}
>       backButton={{
>         onClick: () => navigate("/providers"),
>       }}
>       sso={{
>         updateAction: {
>           onAfter: () => console.log("Provider updated"),
>         },
>       }}
>     />
>   );
> }
> ```
>
> > [accordion] 連携の完全な例
> >
> > ```tsx lines theme={null}
> > import React from "react";
> > import { SsoProviderEdit } from "@auth0/universal-components-react";
> > import { Auth0Provider } from "@auth0/auth0-react";
> > import { Auth0ComponentProvider } from "@auth0/universal-components-react/spa";
> > import { useNavigate, useParams } from "react-router-dom";
> > import { analytics } from "./lib/analytics";
> >
> > function EditProviderPage() {
> >   const { providerId } = useParams();
> >   const navigate = useNavigate();
> >
> >   return (
> >     <div className="max-w-4xl mx-auto p-6">
> >       <SsoProviderEdit
> >         providerId={providerId}
> >         backButton={{
> >           onClick: () => navigate("/providers"),
> >         }}
> >         sso={{
> >           updateAction: {
> >             onAfter: (provider) => {
> >               analytics.track("Provider Updated", { name: provider.name });
> >               toast.success("Provider configuration saved");
> >             },
> >           },
> >           deleteAction: {
> >             onBefore: (provider) => {
> >               return confirm(
> >                 `Permanently delete "${provider.display_name}"? This cannot be undone.`,
> >               );
> >             },
> >           },
> >           deleteFromOrganizationAction: {
> >             onBefore: (provider) => {
> >               return confirm(
> >                 `Remove "${provider.display_name}" from this organization?`,
> >               );
> >             },
> >             onAfter: () => {
> >               toast.success("Provider removed from organization");
> >               navigate("/providers");
> >             },
> >           },
> >         }}
> >         provisioning={{
> >           createAction: {
> >             onAfter: () => toast.success("SCIM provisioning enabled"),
> >           },
> >           createScimTokenAction: {
> >             onAfter: () =>
> >               toast.info("Copy your SCIM token - it won't be shown again"),
> >           },
> >         }}
> >         domains={{
> >           associateToProviderAction: {
> >             onAfter: (domain) => {
> >               toast.success(`${domain.domain} assigned`);
> >             },
> >           },
> >           deleteFromProviderAction: {
> >             onBefore: (domain) => confirm(`Remove ${domain.domain}?`),
> >           },
> >         }}
> >         customMessages={{
> >           tabs: {
> >             sso: "Configuration",
> >             provisioning: "User Sync (SCIM)",
> >             domains: "Linked Domains",
> >           },
> >         }}
> >         styling={{
> >           variables: {
> >             common: { "--color-primary": "#059669" },
> >           },
> >         }}
> >       />
> >     </div>
> >   );
> > }
> >
> > export default function App() {
> >   const domain = "your-domain.auth0.com";
> >
> >   return (
> >     <Auth0Provider
> >       domain={domain}
> >       clientId="your-client-id"
> >       authorizationParams={{
> >         redirect_uri: window.location.origin,
> >       }}
> >       interactiveErrorHandler="popup" // Universal Login のポップアップを介したステップアップ認証チャレンジの処理に必要
> >     >
> >       <Auth0ComponentProvider>
> >         <EditProviderPage />
> >       </Auth0ComponentProvider>
> >     </Auth0Provider>
> >   );
> > }
> >
> > ```
>
> ## プロップ
>
> ### 必須プロップス
>
> 必須プロップスは、コンポーネントの動作に不可欠です。`SsoProviderEdit` では、対象のProviderを読み込んで編集するために、Provider IDが必要です。
>
> <table>
>   <thead>
>     <tr>
>       <th>プロップ</th>
>       <th>型</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `providerId`
>       </td>
>
>       <td>
>         `string`
>       </td>
>
>       <td>
>         **必須。** 編集するSSO ProviderのID。
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> ***
>
> ### 表示プロップス
>
> 表示用プロップスは、コンポーネントの動作に影響を与えることなく、レンダリング方法を制御します。
>
> <table>
>   <thead>
>     <tr>
>       <th>プロパティ</th>
>       <th>型</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `hideHeader`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         ヘッダーセクションを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideProvisioningTab`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         プロビジョニング (SCIM) タブを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideDomainsTab`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         ドメインタブを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideDeleteProvider`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         プロバイダー削除のアクションを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideRemoveFromOrganization`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         organization からの削除アクションを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideAttributeMappings`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         属性マッピングのセクションを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> ***
>
> ### Action のプロップス
>
> 3つのタブにおけるユーザー操作は、各タブ名 (`sso`、`provisioning`、`domains`) の下に整理された複数のアクションプロップスで処理されます。
>
> <table>
>   <thead>
>     <tr>
>       <th>プロップス</th>
>       <th>型</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `backButton`
>       </td>
>
>       <td>
>         `Object`
>       </td>
>
>       <td>
>         戻るボタンの設定。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `sso`
>       </td>
>
>       <td>
>         `SsoProviderTabEditProps`
>       </td>
>
>       <td>
>         SSOタブのアクション。[詳細](#sso-tab-actions)
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `provisioning`
>       </td>
>
>       <td>
>         `SsoProvisioningTabEditProps`
>       </td>
>
>       <td>
>         プロビジョニングタブのアクション。
>         [詳細](#provisioning-tab-actions)
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `domains`
>       </td>
>
>       <td>
>         `SsoDomainsTabEditProps`
>       </td>
>
>       <td>
>         ドメインタブのアクション。[詳細](#domains-tab-actions)
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **backButton**
>
> **型:** `{ icon?: LucideIcon; onClick: (e: MouseEvent) => void }`
>
> コンポーネントのヘッダーにある戻るボタンを設定します。このボタンを使用すると、プロバイダー一覧に戻ることができます。
>
> **プロパティ:**
>
> * `icon`—カスタム Lucide アイコンコンポーネント (省略可。デフォルトは ArrowLeft)
> * `onClick`—ナビゲーション用のクリックハンドラー
>
> **例：**
>
> ```tsx wrap lines theme={null}
> import { ChevronLeft } from "lucide-react";
>
> <SsoProviderEdit
>   providerId={providerId}
>   backButton={{
>     icon: ChevronLeft,
>     onClick: () => navigate("/providers"),
>   }}
> />;
> ```
>
> ***
>
> ### SSO タブのアクション
>
> `sso` プロップは、SSO 設定タブの操作を構成します。このタブでは、プロバイダーの認証設定を管理します。
>
> <table>
>   <thead>
>     <tr>
>       <th>Action</th>
>       <th>タイプ</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `updateAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider, IdentityProvider>`
>       </td>
>
>       <td>
>         プロバイダーの設定を更新します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider>`
>       </td>
>
>       <td>
>         テナントからプロバイダーを完全に削除します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteFromOrganizationAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider>`
>       </td>
>
>       <td>
>         テナントから削除することなく、organization からプロバイダーを解除します。
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **sso.updateAction**
>
> **型:** `ComponentAction<IdentityProvider, IdentityProvider>`
>
> プロバイダー設定 (クライアントID、シークレット、証明書など) の変更を保存するかどうかを制御します。
>
> **プロパティ:**
>
> * `disabled`—保存ボタンを無効にします
> * `onBefore(provider)`—更新前に実行されます。保存を中止するには `false` を返します (たとえば、確認ダイアログを表示する場合) 。
> * `onAfter(provider, result)`—Provider が正常に更新された後に実行されます。通知の表示やイベントの追跡に使用します。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   sso={{
>     updateAction: {
>       onBefore: (provider) => {
>         return confirm("Save changes to provider configuration?");
>       },
>       onAfter: (provider) => {
>         toast.success("Provider configuration saved");
>         analytics.track("Provider Updated", { name: provider.name });
>       },
>     },
>   }}
> />
> ```
>
> ***
>
> **sso.deleteAction**
>
> **型:** `ComponentAction<IdentityProvider>`
>
> Auth0 テナントからプロバイダーを完全に削除するかどうかを制御します。この操作は取り消せません。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> sso={{
>   deleteAction: {
>     onBefore: (provider) => {
>       return confirm(`Permanently delete "${provider.display_name}"? This cannot be undone.`);
>     },
>     onAfter: () => navigate("/providers"),
>   },
> }}
> ```
>
> ***
>
> **sso.deleteFromOrganizationAction**
>
> **型:** `ComponentAction<IdentityProvider>`
>
> プロバイダーを組織から削除する操作を制御します。プロバイダーは組織から切り離されますが、テナントには残り、後で再追加できます。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> sso={{
>   deleteFromOrganizationAction: {
>     onBefore: (provider) => {
>       return confirm(`Remove "${provider.display_name}" from this organization?`);
>     },
>     onAfter: () => navigate("/providers"),
>   },
> }}
> ```
>
> ***
>
> ### プロビジョニングタブの操作
>
> `provisioning`プロップは、SCIMプロビジョニングタブのアクションを設定します。このタブでは、SCIMプロトコルによるユーザーの自動プロビジョニングを管理します。
>
> <table>
>   <thead>
>     <tr>
>       <th>Action</th>
>       <th>種類</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `createAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider,
>                 CreateIdPProvisioningConfigResponseContent>`
>       </td>
>
>       <td>
>         SCIM プロビジョニングを有効化します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider>`
>       </td>
>
>       <td>
>         SCIM プロビジョニングを無効化します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `createScimTokenAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider,
>                 CreateIdpProvisioningScimTokenResponseContent>`
>       </td>
>
>       <td>
>         SCIM トークンを生成します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteScimTokenAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider>`
>       </td>
>
>       <td>
>         SCIM トークンを取り消します。
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **provisioning.createAction**
>
> **型:** `ComponentAction<IdentityProvider, CreateIdPProvisioningConfigResponseContent>`
>
> プロバイダーの SCIM プロビジョニングを有効にします。有効にすると、IDプロバイダーが使用するための SCIM トークンを生成できます。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> provisioning={{
>   createAction: {
>     onBefore: (provider) => {
>       return confirm("Enable SCIM provisioning for this provider?");
>     },
>     onAfter: (provider, config) => {
>       toast.success("SCIM provisioning enabled");
>       console.log("SCIM endpoint:", config.scim_endpoint);
>     },
>   },
> }}
> ```
>
> ***
>
> **provisioning.deleteAction**
>
> **型:** `ComponentAction<IdentityProvider>`
>
> SCIMプロビジョニングを無効にし、そのアイデンティティプロバイダーのすべてのプロビジョニング設定を削除します。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> provisioning={{
>   deleteAction: {
>     onBefore: (provider) => {
>       return confirm("Disable SCIM provisioning? This will stop automatic user sync.");
>     },
>     onAfter: () => toast.success("SCIM provisioning disabled"),
>   },
> }}
> ```
>
> ***
>
> **provisioning.createScimTokenAction**
>
> **型:** `ComponentAction<IdentityProvider, CreateIdpProvisioningScimTokenResponseContent>`
>
> アイデンティティプロバイダーがAuth0で認証するための新しいSCIMベアラートークンを生成します。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> provisioning={{
>   createScimTokenAction: {
>     onAfter: (provider, tokenResponse) => {
>       // トークンは一度しか表示されないため、すぐにコピーしてください
>       console.log("New SCIM token generated");
>     },
>   },
> }}
> ```
>
> ***
>
> **provisioning.deleteScimTokenAction**
>
> **型:** `ComponentAction<IdentityProvider>`
>
> SCIM トークンを取り消します。新しいトークンが生成されるまで、IDプロバイダーはユーザーを同期できなくなります。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> provisioning={{
>   deleteScimTokenAction: {
>     onBefore: () => {
>       return confirm("Revoke SCIM token? Your identity provider will lose access immediately.");
>     },
>   },
> }}
> ```
>
> ***
>
> ### ドメインタブの操作
>
> `domains` プロパティでは、ドメインタブのアクションを設定します。このタブには、プロバイダーに割り当てられた検証済みドメインが一覧表示され、ユーザーはドメインを削除したり、**Assign Domain(s)** ダイアログから追加のドメインを割り当てたりできます。1つのドメインは1つの接続にのみ割り当てられるため、ダイアログには、どの接続にも関連付けられていない検証済みドメインのみが表示されます。ドメインを作成または検証するには、[DomainTable コンポーネント](/docs/docs/ja-jp/get-started/universal-components/web/components/configure-org-domains)を使用してください。
>
> <table>
>   <thead>
>     <tr>
>       <th>Action</th>
>       <th>種類</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `associateToProviderAction`
>       </td>
>
>       <td>
>         `ComponentAction<Domain, IdentityProvider | null>`
>       </td>
>
>       <td>
>         ドメインをプロバイダーに割り当てます。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteFromProviderAction`
>       </td>
>
>       <td>
>         `ComponentAction<Domain, IdentityProvider | null>`
>       </td>
>
>       <td>
>         プロバイダーからドメインを削除します。
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **domains.associateToProviderAction**
>
> **型:** `ComponentAction<Domain, IdentityProvider | null>`
>
> **Assign Domain(s)** ダイアログで選択したドメインごとに1回ずつ実行されます。選択したすべてのドメインの割り当てが完了すると、ダイアログは閉じます。いずれかの割り当てが失敗した場合、ダイアログは開いたままになります。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> domains={{
>   associateToProviderAction: {
>     onAfter: (domain, provider) => {
>       console.log(`${domain.domain} now routes to ${provider?.name}`);
>     },
>   },
> }}
> ```
>
> ***
>
> **domains.deleteFromProviderAction**
>
> **型:** `ComponentAction<Domain, IdentityProvider | null>`
>
> ユーザーがテーブルの削除ボタンを使ってプロバイダーからドメインを削除したときに実行されます。確認ダイアログは表示されず、ドメインは即座に削除されます。独自の確認処理を追加するには `onBefore` を使用してください。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> domains={{
>   deleteFromProviderAction: {
>     onBefore: (domain) => confirm(`Remove ${domain.domain} from this provider?`),
>   },
> }}
> ```
>
> ***
>
> ### カスタマイズ用プロップス
>
> カスタマイズ用プロップスを使用すると、ソースコードを変更せずに、ブランド、ロケール、バリデーションの要件に合わせてコンポーネントを調整できます。
>
> <table>
>   <thead>
>     <tr>
>       <th>プロパティ</th>
>       <th>型</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `schema`
>       </td>
>
>       <td>
>         `SsoProviderEditSchema`
>       </td>
>
>       <td>
>         フィールドのバリデーションルール。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `customMessages`
>       </td>
>
>       <td>
>         `Partial<SsoProviderEditMessages>`
>       </td>
>
>       <td>
>         i18n テキストの上書き。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `styling`
>       </td>
>
>       <td>
>         `ComponentStyling<SsoProviderEditClasses>`
>       </td>
>
>       <td>
>         CSS 変数およびクラスの上書き。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `resolveSamlMetadata`
>       </td>
>
>       <td>
>         `(params: { connectionName: string }) => { entityId: string }`
>       </td>
>
>       <td>
>         読み取り専用の SAML メタデータフィールドに表示する SP 発行者 URN (サービスプロバイダーのエンティティ ID) を指定します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `showSignRequest`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         SAML リクエスト署名のフィールドを表示または非表示にします。デフォルト: `true`
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **SP メタデータフィールド**
>
> SAML接続の編集画面には、管理者がIDプロバイダー (IdP) に貼り付けるサービスプロバイダー (SP) のメタデータとして、読み取り専用でコピー可能な4つのフィールド (**Callback URL**、**ACS URL**、**SP Metadata URL**、**SP Issuer URN**) が表示されます。最初の3つはテナントドメインと接続名から自動的に算出されるため、設定は不要です。Auth0 Universal Components ではテナント名を取得できないため、**SP Issuer URN** (Entity ID) はホスト側で `resolveSamlMetadata` プロップを通じて指定します。
>
> **resolveSamlMetadata**
>
> 省略可。読み取り専用の SAML メタデータフィールドに表示される SP 発行者 URN を返します。コールバックは `{ connectionName }` を受け取り、`{ entityId }` を返します:
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   resolveSamlMetadata={({ connectionName }) => ({
>     entityId: `urn:auth0:YOUR_TENANT_NAME:${connectionName}`,
>   })}
> />
> ```
>
> 省略した場合、URN は `urn:auth0:<tenant-derived-from-domain>:<connectionName>` にフォールバックします。コールバックが文字列ではなくオブジェクトを返すのは、Auth0 が今後、破壊的変更なしに SP フィールドを追加できるようにするためです。使用されるのは `entityId` のみです。
>
> ***
>
> **showSignRequest**
>
> 省略可。SAML 設定の **Advanced Settings** に、**Sign Request** チェックボックスと、**Sign Request Algorithm** および **Sign Request Algorithm Digest** フィールドを表示するかどうかを制御します。デフォルトは `true` です。これらのフィールドを非表示にするには `false` に設定します。その場合も、**Advanced Settings** セクションと **Request Protocol Binding** フィールドは引き続き表示されます。
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   showSignRequest={false}
> />
> ```
>
> フィールドを非表示にしても、接続のリクエスト署名の設定は変更されません。既存の接続でリクエスト署名が有効になっている場合、管理者が変更を保存しても有効なまま維持されます。このプロップはSAML接続にのみ適用され、PingFederate接続には影響しません。
>
> ***
>
> **スキーマ**
>
> プロバイダーとドメインのフィールドにカスタムバリデーションルールを設定します。
>
> > [accordion] 利用可能なスキーマフィールド
> >
> > すべてのスキーマフィールドでサポートされる項目: `regex`, `errorMessage`, `minLength`, `maxLength`, `required`
> >
> > **provider.**\*—strategy別のProvider設定フィールド
> >
> > * 共通: `name`, `displayName`
> > * strategy固有のフィールド (SsoProviderCreateと同じ)
> >
> > **domains.create.domainUrl**—ドメインURLのバリデーション
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   schema={{
>     provider: {
>       displayName: {
>         required: true,
>         maxLength: 100,
>       },
>     },
>     domains: {
>       create: {
>         domainUrl: {
>           regex: /^[a-z0-9.-]+\.[a-z]{2,}$/,
>           errorMessage: "Enter a valid domain (example.com)",
>         },
>       },
>     },
>   }}
> />
> ```
>
> ***
>
> **customMessages**
>
> すべてのテキストと翻訳をカスタマイズできます。すべてのフィールドは任意で、指定しない場合はデフォルト値が使用されます。
>
> > [accordion] 利用可能なメッセージ
> >
> > **header**—コンポーネントのヘッダー
> >
> > * `title`, `back_button_text`
> >
> > **tabs**—タブのラベルとコンテンツ
> >
> > * `tabs.sso.name`—SSOタブのラベル
> > * `tabs.sso.content`—SSOタブのメッセージ
> >   * `details.third_party_access`—`title`, `label`, `helper_text`
> >   * `details.cross_app_access`—`title`, `label`, `helper_text`, `domain_verification_text`, `saml_description`, `saml_discovery_url_label`, `saml_discovery_url_placeholder`, `saml_discovery_url_helper`
> >   * `title`, `description`
> >   * `fields.*`—strategyごとのフォームフィールドラベル。SAMLの場合、`fields.samlp` には、Auth0が算出する読み取り専用のSPメタデータフィールドが含まれます。管理者はこれらの値をコピーしてIdPに設定します:
> >     * `fields.samlp.callback_url`—`label`, `helper_text` (読み取り専用のCallback URL)
> >     * `fields.samlp.acs_url`—`label`, `helper_text` (読み取り専用のACS URL)
> >     * `fields.samlp.sp_metadata_url`—`label`, `helper_text` (読み取り専用のSPメタデータURL)
> >     * `fields.samlp.sp_issuer_urn`—`label`, `helper_text` (読み取り専用のSP発行者URN / Entity ID)
> >   * `actions.save_button_text`, `actions.delete_button_text`
> >   * `delete_modal.*`, `remove_modal.*`
> > * `tabs.provisioning.name`—プロビジョニングタブのラベル
> > * `tabs.domains.name`—ドメインタブのラベル
> >
> > **provisioning\_tab**—プロビジョニングタブ
> >
> > * `title`, `description`
> > * `scim_endpoint.label`, `scim_token.label`
> > * `actions.enable_button_text`, `actions.disable_button_text`
> > * `actions.generate_token_button_text`, `actions.revoke_token_button_text`
> >
> > **tabs.domains.content**—ドメインタブ
> >
> > * `title`, `description`, `create_button_text`
> > * `table.empty_message`, `table.columns.name`, `table.columns.status`
> > * `table.actions.remove_domain_tooltip`, `table.actions.remove_domain_aria_label`
> > * `table.domain_statuses.pending`, `table.domain_statuses.verified`, `table.domain_statuses.failed`
> > * `domain_assign`—「ドメインの割り当て」ダイアログ
> >   * `title`, `description`
> >   * `field.label`, `field.placeholder`, `field.helper_text`, `field.empty_message`
> >   * `learn_more.text`, `learn_more.link_text`
> >   * `actions.cancel_button_text`, `actions.assign_button_text`
> >   * `success`, `error`—ドメインの割り当て後に表示される通知
> > * `domain_associate_provider.success`, `domain_delete_provider.success`—ドメインの割り当て後または削除後に表示される通知
> >
> > **notifications**—APIレスポンス
> >
> > * `provider_update_success`, `provider_delete_success`
> > * `provisioning_enable_success`, `provisioning_disable_success`
> > * `scim_token_create_success`, `scim_token_delete_success`
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   customMessages={{
>     header: {
>       title: "Edit Provider",
>     },
>     tabs: {
>       sso: {
>         name: "Settings",
>         content: {
>           details: {
>             third_party_access: {
>               title: "Third-Party Application Access",
>               label: "Allow this provider to be used by third-party applications",
>               helper_text: "External applications can authenticate users through this provider.",
>             },
>             cross_app_access: {
>               title: "Cross App Access",
>               label: "Allow this provider to authorize access to this Resource Application",
>               helper_text: "Accept authorizations from this provider to issue API access tokens.",
>               domain_verification_text: "The OIDC issuer domain must be verified.",
>               saml_description: "Provide the identity provider's OpenID Connect Configuration.",
>               saml_discovery_url_label: "OIDC Issuer or Discovery URL",
>               saml_discovery_url_helper: "Enter an issuer URL or discovery URL",
>             },
>           },
>           actions: {
>             save_button_text: "Save Changes",
>           },
>         },
>       },
>       provisioning: { name: "User Sync" },
>       domains: { name: "Domains" },
>     },
>     notifications: {
>       provider_update_success: "Provider saved successfully!",
>     },
>   }}
> />
> ```
>
> ***
>
> **スタイリング**
>
> CSS変数とクラスのオーバーライドで外観をカスタマイズできます。テーマに応じたスタイリングに対応しています。
>
> > [accordion] 利用可能なスタイリングオプション
> >
> > **変数**—CSS カスタムプロパティ
> >
> > * `common`—すべてのテーマに適用
> > * `light`—ライトテーマのみ
> > * `dark`—ダークテーマのみ
> >
> > **クラス**—コンポーネントのクラス上書き
> >
> > * `SsoProviderEdit-header`
> > * `SsoProviderEdit-tabs`
> > * `ProviderConfigure-ThirdPartyAccess`
> > * `ProviderConfigure-CrossAppAccess`
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   styling={{
>     variables: {
>       common: {
>         "--font-size-title": "1.5rem",
>       },
>       light: {
>         "--color-primary": "#059669",
>       },
>     },
>     classes: {
>       "SsoProviderEdit-tabs": "border-b border-gray-200",
>     },
>   }}
> />
> ```
>
> ***
>
> ## 高度なカスタマイズ
>
> ### 利用可能なフック
>
> これらのフックは、UIを介さずに基盤となるロジックを提供します。Auth0 API連携を活用して、独自のインターフェースを自由に構築できます。
>
> <table>
>   <thead>
>     <tr>
>       <th>Hook</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `useSsoProviderEdit`
>       </td>
>
>       <td>Providerの読み込みと更新処理</td>
>     </tr>
>
>     <tr>
>       <td>
>         `useSsoDomainTab`
>       </td>
>
>       <td>ドメインの関連付け管理</td>
>     </tr>
>   </tbody>
> </table>

> [tab] Next.js
>
> ## 設定要件
>
> **Auth0 Configuration が必要です**—テナントが
> My Organization API で設定されていることを確認してください。[設定ガイドを表示
> →](/docs/docs/ja-jp/get-started/universal-components/web/components/build-delegated-admin#configure-auth0-dashboard)
>
> ## インストール
>
> ```bash npm (Recommended) wrap lines theme={null}
> npm install @auth0/universal-components-react
> ```
>
> ```bash pnpm wrap lines theme={null}
> pnpm add @auth0/universal-components-react
> ```
>
> npm または pnpm コマンドを実行すると、共通ユーティリティと Auth0 連携に必要な
> @auth0/universal-components-core の依存パッケージがインストールされます。
>
> ## はじめに
>
> ```tsx page.tsx wrap lines theme={null}
> import { SsoProviderEdit } from "@auth0/universal-components-react";
> import { useRouter } from "next/navigation";
>
> export function EditProviderPage({ providerId }) {
>   const router = useRouter();
>
>   return (
>     <SsoProviderEdit
>       providerId={providerId}
>       backButton={{
>         onClick: () => router.push("/providers"),
>       }}
>       sso={{
>         updateAction: {
>           onAfter: () => console.log("Provider updated"),
>         },
>       }}
>     />
>   );
> }
> ```
>
> > [accordion] 連携の完全な例
> >
> > ```tsx lines theme={null}
> > import React from "react";
> > import { SsoProviderEdit } from "@auth0/universal-components-react";
> > import { useRouter, useSearchParams } from "next/navigation";
> > import { analytics } from "./lib/analytics";
> >
> > function EditProviderPage() {
> >   const router = useRouter();
> >   const searchParams = useSearchParams();
> >   const providerId = searchParams.get("id");
> >
> >   return (
> >     <div className="max-w-4xl mx-auto p-6">
> >       <SsoProviderEdit
> >         providerId={providerId}
> >         backButton={{
> >           onClick: () => router.push("/providers"),
> >         }}
> >         sso={{
> >           updateAction: {
> >             onAfter: (provider) => {
> >               analytics.track("Provider Updated", { name: provider.name });
> >               toast.success("Provider configuration saved");
> >             },
> >           },
> >           deleteAction: {
> >             onBefore: (provider) => {
> >               return confirm(
> >                 `Permanently delete "${provider.display_name}"? This cannot be undone.`,
> >               );
> >             },
> >           },
> >           deleteFromOrganizationAction: {
> >             onBefore: (provider) => {
> >               return confirm(
> >                 `Remove "${provider.display_name}" from this organization?`,
> >               );
> >             },
> >             onAfter: () => {
> >               toast.success("Provider removed from organization");
> >               router.push("/providers");
> >             },
> >           },
> >         }}
> >         provisioning={{
> >           createAction: {
> >             onAfter: () => toast.success("SCIM provisioning enabled"),
> >           },
> >           createScimTokenAction: {
> >             onAfter: () =>
> >               toast.info("Copy your SCIM token - it won't be shown again"),
> >           },
> >         }}
> >         domains={{
> >           associateToProviderAction: {
> >             onAfter: (domain) => {
> >               toast.success(`${domain.domain} assigned`);
> >             },
> >           },
> >           deleteFromProviderAction: {
> >             onBefore: (domain) => confirm(`Remove ${domain.domain}?`),
> >           },
> >         }}
> >         customMessages={{
> >           tabs: {
> >             sso: "Configuration",
> >             provisioning: "User Sync (SCIM)",
> >             domains: "Linked Domains",
> >           },
> >         }}
> >         styling={{
> >           variables: {
> >             common: { "--color-primary": "#059669" },
> >           },
> >         }}
> >       />
> >     </div>
> >   );
> > }
> >
> > export default EditProviderPage;
> > ```
>
> ## プロップ
>
> ### 主要なプロップ
>
> コアプロップスは、コンポーネントの動作に不可欠です。`SsoProviderEdit` で正しいプロバイダーを読み込み、編集するには、プロバイダーIDが必要です。
>
> <table>
>   <thead>
>     <tr>
>       <th>プロップ</th>
>       <th>型</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `providerId`
>       </td>
>
>       <td>
>         `string`
>       </td>
>
>       <td>
>         **必須。** 編集するSSO ProviderのID。
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> ***
>
> ### 表示プロップス
>
> 表示用プロップスは、コンポーネントの動作に影響を与えることなく、レンダリング方法を制御します。
>
> <table>
>   <thead>
>     <tr>
>       <th>プロパティ</th>
>       <th>型</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `hideHeader`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         ヘッダーセクションを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideProvisioningTab`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         プロビジョニング (SCIM) タブを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideDomainsTab`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         ドメインタブを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideDeleteProvider`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         プロバイダー削除のアクションを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideRemoveFromOrganization`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         organization からの削除アクションを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideAttributeMappings`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         属性マッピングのセクションを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> ***
>
> ### Action のプロップス
>
> 3つのタブにおけるユーザー操作は、各タブ名 (`sso`、`provisioning`、`domains`) の下に整理された複数のアクションプロップスで処理されます。
>
> <table>
>   <thead>
>     <tr>
>       <th>プロップス</th>
>       <th>型</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `backButton`
>       </td>
>
>       <td>
>         `Object`
>       </td>
>
>       <td>
>         戻るボタンの設定。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `sso`
>       </td>
>
>       <td>
>         `SsoProviderTabEditProps`
>       </td>
>
>       <td>
>         SSOタブのアクション。[詳細](#sso-tab-actions)
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `provisioning`
>       </td>
>
>       <td>
>         `SsoProvisioningTabEditProps`
>       </td>
>
>       <td>
>         プロビジョニングタブのアクション。
>         [詳細](#provisioning-tab-actions)
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `domains`
>       </td>
>
>       <td>
>         `SsoDomainsTabEditProps`
>       </td>
>
>       <td>
>         ドメインタブのアクション。[詳細](#domains-tab-actions)
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **backButton**
>
> **型:** `{ icon?: LucideIcon; onClick: (e: MouseEvent) => void }`
>
> コンポーネントのヘッダーにある戻るボタンを設定します。このボタンを使用すると、プロバイダー一覧に戻ることができます。
>
> **プロパティ:**
>
> * `icon`—カスタム Lucide アイコンコンポーネント (省略可。デフォルトは ArrowLeft)
> * `onClick`—ナビゲーション用のクリックハンドラー
>
> **例：**
>
> ```tsx wrap lines theme={null}
> import { ChevronLeft } from "lucide-react";
>
> <SsoProviderEdit
>   providerId={providerId}
>   backButton={{
>     icon: ChevronLeft,
>     onClick: () => router.push("/providers"),
>   }}
> />;
> ```
>
> ***
>
> ### SSO タブのアクション
>
> `sso` プロップは、SSO 設定タブの操作を構成します。このタブでは、プロバイダーの認証設定を管理します。
>
> <table>
>   <thead>
>     <tr>
>       <th>Action</th>
>       <th>タイプ</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `updateAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider, IdentityProvider>`
>       </td>
>
>       <td>
>         プロバイダーの設定を更新します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider>`
>       </td>
>
>       <td>
>         テナントからプロバイダーを完全に削除します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteFromOrganizationAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider>`
>       </td>
>
>       <td>
>         テナントから削除することなく、organization からプロバイダーを解除します。
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **sso.updateAction**
>
> **型:** `ComponentAction<IdentityProvider, IdentityProvider>`
>
> プロバイダー設定 (クライアントID、シークレット、証明書など) の変更を保存するかどうかを制御します。
>
> **プロパティ:**
>
> * `disabled`—保存ボタンを無効にします
> * `onBefore(provider)`—更新前に実行されます。保存を中止するには `false` を返します (たとえば、確認ダイアログを表示する場合) 。
> * `onAfter(provider, result)`—Provider が正常に更新された後に実行されます。通知の表示やイベントの追跡に使用します。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   sso={{
>     updateAction: {
>       onBefore: (provider) => {
>         return confirm("Save changes to provider configuration?");
>       },
>       onAfter: (provider) => {
>         toast.success("Provider configuration saved");
>         analytics.track("Provider Updated", { name: provider.name });
>       },
>     },
>   }}
> />
> ```
>
> ***
>
> **sso.deleteAction**
>
> **型:** `ComponentAction<IdentityProvider>`
>
> Auth0 テナントからプロバイダーを完全に削除するかどうかを制御します。この操作は取り消せません。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> sso={{
>   deleteAction: {
>     onBefore: (provider) => {
>       return confirm(`Permanently delete "${provider.display_name}"? This cannot be undone.`);
>     },
>     onAfter: () => router.push("/providers"),
>   },
> }}
> ```
>
> ***
>
> **sso.deleteFromOrganizationAction**
>
> **型:** `ComponentAction<IdentityProvider>`
>
> プロバイダーを組織から削除する操作を制御します。プロバイダーは組織から切り離されますが、テナントには残り、後で再追加できます。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> sso={{
>   deleteFromOrganizationAction: {
>     onBefore: (provider) => {
>       return confirm(`Remove "${provider.display_name}" from this organization?`);
>     },
>     onAfter: () => router.push("/providers"),
>   },
> }}
> ```
>
> ***
>
> ### プロビジョニングタブの操作
>
> `provisioning`プロップは、SCIMプロビジョニングタブのアクションを設定します。このタブでは、SCIMプロトコルによるユーザーの自動プロビジョニングを管理します。
>
> <table>
>   <thead>
>     <tr>
>       <th>Action</th>
>       <th>種類</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `createAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider,
>                 CreateIdPProvisioningConfigResponseContent>`
>       </td>
>
>       <td>
>         SCIM プロビジョニングを有効化します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider>`
>       </td>
>
>       <td>
>         SCIM プロビジョニングを無効化します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `createScimTokenAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider,
>                 CreateIdpProvisioningScimTokenResponseContent>`
>       </td>
>
>       <td>
>         SCIM トークンを生成します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteScimTokenAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider>`
>       </td>
>
>       <td>
>         SCIM トークンを取り消します。
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **provisioning.createAction**
>
> **型:** `ComponentAction<IdentityProvider, CreateIdPProvisioningConfigResponseContent>`
>
> プロバイダーの SCIM プロビジョニングを有効にします。有効にすると、IDプロバイダーが使用するための SCIM トークンを生成できます。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> provisioning={{
>   createAction: {
>     onBefore: (provider) => {
>       return confirm("Enable SCIM provisioning for this provider?");
>     },
>     onAfter: (provider, config) => {
>       toast.success("SCIM provisioning enabled");
>       console.log("SCIM endpoint:", config.scim_endpoint);
>     },
>   },
> }}
> ```
>
> ***
>
> **provisioning.deleteAction**
>
> **型:** `ComponentAction<IdentityProvider>`
>
> SCIMプロビジョニングを無効にし、そのアイデンティティプロバイダーのすべてのプロビジョニング設定を削除します。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> provisioning={{
>   deleteAction: {
>     onBefore: (provider) => {
>       return confirm("Disable SCIM provisioning? This will stop automatic user sync.");
>     },
>     onAfter: () => toast.success("SCIM provisioning disabled"),
>   },
> }}
> ```
>
> ***
>
> **provisioning.createScimTokenAction**
>
> **型:** `ComponentAction<IdentityProvider, CreateIdpProvisioningScimTokenResponseContent>`
>
> アイデンティティプロバイダーがAuth0で認証するための新しいSCIMベアラートークンを生成します。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> provisioning={{
>   createScimTokenAction: {
>     onAfter: (provider, tokenResponse) => {
>       // トークンは一度しか表示されないため、すぐにコピーしてください
>       console.log("New SCIM token generated");
>     },
>   },
> }}
> ```
>
> ***
>
> **provisioning.deleteScimTokenAction**
>
> **型:** `ComponentAction<IdentityProvider>`
>
> SCIM トークンを取り消します。新しいトークンが生成されるまで、IDプロバイダーはユーザーを同期できなくなります。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> provisioning={{
>   deleteScimTokenAction: {
>     onBefore: () => {
>       return confirm("Revoke SCIM token? Your identity provider will lose access immediately.");
>     },
>   },
> }}
> ```
>
> ***
>
> ### ドメインタブの操作
>
> `domains` プロパティでは、ドメインタブのアクションを設定します。このタブには、プロバイダーに割り当てられた検証済みドメインが一覧表示され、ユーザーはドメインを削除したり、**Assign Domain(s)** ダイアログから追加のドメインを割り当てたりできます。1つのドメインは1つの接続にのみ割り当てられるため、ダイアログには、どの接続にも関連付けられていない検証済みドメインのみが表示されます。ドメインを作成または検証するには、[DomainTable コンポーネント](/docs/docs/ja-jp/get-started/universal-components/web/components/configure-org-domains)を使用してください。
>
> <table>
>   <thead>
>     <tr>
>       <th>Action</th>
>       <th>種類</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `associateToProviderAction`
>       </td>
>
>       <td>
>         `ComponentAction<Domain, IdentityProvider | null>`
>       </td>
>
>       <td>
>         ドメインをプロバイダーに割り当てます。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteFromProviderAction`
>       </td>
>
>       <td>
>         `ComponentAction<Domain, IdentityProvider | null>`
>       </td>
>
>       <td>
>         プロバイダーからドメインを削除します。
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **domains.associateToProviderAction**
>
> **型:** `ComponentAction<Domain, IdentityProvider | null>`
>
> **Assign Domain(s)** ダイアログで選択したドメインごとに1回ずつ実行されます。選択したすべてのドメインの割り当てが完了すると、ダイアログは閉じます。いずれかの割り当てが失敗した場合、ダイアログは開いたままになります。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> domains={{
>   associateToProviderAction: {
>     onAfter: (domain, provider) => {
>       console.log(`${domain.domain} now routes to ${provider?.name}`);
>     },
>   },
> }}
> ```
>
> ***
>
> **domains.deleteFromProviderAction**
>
> **型:** `ComponentAction<Domain, IdentityProvider | null>`
>
> ユーザーがテーブルの削除ボタンでプロバイダーからドメインを削除したときに実行されます。確認ダイアログは表示されず、ドメインはすぐに削除されます。独自の確認処理を追加するには `onBefore` を使用してください。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> domains={{
>   deleteFromProviderAction: {
>     onBefore: (domain) => confirm(`Remove ${domain.domain} from this provider?`),
>   },
> }}
> ```
>
> ***
>
> ### カスタマイズ用プロップス
>
> カスタマイズ用プロップスを使用すると、ソースコードを変更せずに、ブランド、ロケール、バリデーションの要件に合わせてコンポーネントを調整できます。
>
> <table>
>   <thead>
>     <tr>
>       <th>プロパティ</th>
>       <th>型</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `schema`
>       </td>
>
>       <td>
>         `SsoProviderEditSchema`
>       </td>
>
>       <td>
>         フィールドのバリデーションルール。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `customMessages`
>       </td>
>
>       <td>
>         `Partial<SsoProviderEditMessages>`
>       </td>
>
>       <td>
>         i18n テキストの上書き。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `styling`
>       </td>
>
>       <td>
>         `ComponentStyling<SsoProviderEditClasses>`
>       </td>
>
>       <td>
>         CSS 変数およびクラスの上書き。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `resolveSamlMetadata`
>       </td>
>
>       <td>
>         `(params: { connectionName: string }) => { entityId: string }`
>       </td>
>
>       <td>
>         読み取り専用の SAML メタデータフィールドに表示する SP 発行者 URN (サービスプロバイダーのエンティティ ID) を指定します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `showSignRequest`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         SAML リクエスト署名のフィールドを表示または非表示にします。デフォルト: `true`
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **SP メタデータフィールド**
>
> SAML接続の編集画面には、管理者がIdPに貼り付けるサービスプロバイダー (SP) メタデータのフィールドが4つ、読み取り専用かつコピー可能な形で表示されます: **Callback URL**、**ACS URL**、**SP Metadata URL**、**SP Issuer URN**。最初の3つはテナントドメインと接続名から自動的に算出されるため、設定は不要です。Auth0 Universal Components ではテナント名を取得できないため、**SP Issuer URN** (Entity ID) はホスト側で `resolveSamlMetadata` プロップを使って指定します。
>
> **resolveSamlMetadata**
>
> 省略可。読み取り専用の SAML メタデータフィールドに表示される SP 発行者 URN を返します。コールバックは `{ connectionName }` を受け取り、`{ entityId }` を返します:
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   resolveSamlMetadata={({ connectionName }) => ({
>     entityId: `urn:auth0:YOUR_TENANT_NAME:${connectionName}`,
>   })}
> />
> ```
>
> 省略した場合、URN は `urn:auth0:<tenant-derived-from-domain>:<connectionName>` にフォールバックします。コールバックが文字列ではなくオブジェクトを返すのは、Auth0 が今後、破壊的変更なしに SP フィールドを追加できるようにするためです。使用されるのは `entityId` のみです。
>
> ***
>
> **showSignRequest**
>
> 省略可。SAML 設定の **Advanced Settings** に、**Sign Request** チェックボックスと、**Sign Request Algorithm** および **Sign Request Algorithm Digest** フィールドを表示するかどうかを制御します。デフォルトは `true` です。これらのフィールドを非表示にするには `false` に設定します。その場合も、**Advanced Settings** セクションと **Request Protocol Binding** フィールドは引き続き表示されます。
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   showSignRequest={false}
> />
> ```
>
> フィールドを非表示にしても、接続のリクエスト署名の設定は変更されません。既存の接続でリクエスト署名が有効になっている場合、管理者が変更を保存しても有効なまま維持されます。このプロップはSAML接続にのみ適用され、PingFederate接続には影響しません。
>
> ***
>
> **スキーマ**
>
> プロバイダーとドメインのフィールドにカスタムバリデーションルールを設定します。
>
> > [accordion] 利用可能なスキーマフィールド
> >
> > すべてのスキーマフィールドでサポートされる項目: `regex`, `errorMessage`, `minLength`, `maxLength`, `required`
> >
> > **provider.**\*—strategy別のProvider設定フィールド
> >
> > * 共通: `name`, `displayName`
> > * strategy固有のフィールド (SsoProviderCreateと同じ)
> >
> > **domains.create.domainUrl**—ドメインURLのバリデーション
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   schema={{
>     provider: {
>       displayName: {
>         required: true,
>         maxLength: 100,
>       },
>     },
>     domains: {
>       create: {
>         domainUrl: {
>           regex: /^[a-z0-9.-]+\.[a-z]{2,}$/,
>           errorMessage: "Enter a valid domain (example.com)",
>         },
>       },
>     },
>   }}
> />
> ```
>
> ***
>
> **customMessages**
>
> すべてのテキストと翻訳をカスタマイズできます。すべてのフィールドは任意で、指定しない場合はデフォルト値が使用されます。
>
> > [accordion] 利用可能なメッセージ
> >
> > **header**—コンポーネントのヘッダー
> >
> > * `title`, `back_button_text`
> >
> > **tabs**—タブのラベルとコンテンツ
> >
> > * `tabs.sso.name`—SSOタブのラベル
> > * `tabs.sso.content`—SSOタブのメッセージ
> >   * `details.third_party_access`—`title`, `label`, `helper_text`
> >   * `details.cross_app_access`—`title`, `label`, `helper_text`, `domain_verification_text`, `saml_description`, `saml_discovery_url_label`, `saml_discovery_url_placeholder`, `saml_discovery_url_helper`
> >   * `title`, `description`
> >   * `fields.*`—strategyごとのフォームフィールドラベル。SAMLの場合、`fields.samlp` には、Auth0が算出する読み取り専用のSPメタデータフィールドが含まれます。管理者はこれらの値をコピーしてIdPに設定します:
> >     * `fields.samlp.callback_url`—`label`, `helper_text` (読み取り専用のCallback URL)
> >     * `fields.samlp.acs_url`—`label`, `helper_text` (読み取り専用のACS URL)
> >     * `fields.samlp.sp_metadata_url`—`label`, `helper_text` (読み取り専用のSPメタデータURL)
> >     * `fields.samlp.sp_issuer_urn`—`label`, `helper_text` (読み取り専用のSP発行者URN / Entity ID)
> >   * `actions.save_button_text`, `actions.delete_button_text`
> >   * `delete_modal.*`, `remove_modal.*`
> > * `tabs.provisioning.name`—プロビジョニングタブのラベル
> > * `tabs.domains.name`—ドメインタブのラベル
> >
> > **provisioning\_tab**—プロビジョニングタブ
> >
> > * `title`, `description`
> > * `scim_endpoint.label`, `scim_token.label`
> > * `actions.enable_button_text`, `actions.disable_button_text`
> > * `actions.generate_token_button_text`, `actions.revoke_token_button_text`
> >
> > **tabs.domains.content**—ドメインタブ
> >
> > * `title`, `description`, `create_button_text`
> > * `table.empty_message`, `table.columns.name`, `table.columns.status`
> > * `table.actions.remove_domain_tooltip`, `table.actions.remove_domain_aria_label`
> > * `table.domain_statuses.pending`, `table.domain_statuses.verified`, `table.domain_statuses.failed`
> > * `domain_assign`—ドメイン割り当てダイアログ
> >   * `title`, `description`
> >   * `field.label`, `field.placeholder`, `field.helper_text`, `field.empty_message`
> >   * `learn_more.text`, `learn_more.link_text`
> >   * `actions.cancel_button_text`, `actions.assign_button_text`
> >   * `success`, `error`—ドメイン割り当て後の通知
> > * `domain_associate_provider.success`, `domain_delete_provider.success`—ドメインの割り当て後または削除後の通知
> >
> > **notifications**—APIレスポンス
> >
> > * `provider_update_success`, `provider_delete_success`
> > * `provisioning_enable_success`, `provisioning_disable_success`
> > * `scim_token_create_success`, `scim_token_delete_success`
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   customMessages={{
>     header: {
>       title: "Edit Provider",
>     },
>     tabs: {
>       sso: {
>         name: "Settings",
>         content: {
>           details: {
>             third_party_access: {
>               title: "Third-Party Application Access",
>               label: "Allow this provider to be used by third-party applications",
>               helper_text: "External applications can authenticate users through this provider.",
>             },
>             cross_app_access: {
>               title: "Cross App Access",
>               label: "Allow this provider to authorize access to this Resource Application",
>               helper_text: "Accept authorizations from this provider to issue API access tokens.",
>               domain_verification_text: "The OIDC issuer domain must be verified.",
>               saml_description: "Provide the identity provider's OpenID Connect Configuration.",
>               saml_discovery_url_label: "OIDC Issuer or Discovery URL",
>               saml_discovery_url_helper: "Enter an issuer URL or discovery URL",
>             },
>           },
>           actions: {
>             save_button_text: "Save Changes",
>           },
>         },
>       },
>       provisioning: { name: "User Sync" },
>       domains: { name: "Domains" },
>     },
>     notifications: {
>       provider_update_success: "Provider saved successfully!",
>     },
>   }}
> />
> ```
>
> ***
>
> **スタイリング**
>
> CSS変数とクラスのオーバーライドで外観をカスタマイズできます。テーマに応じたスタイリングに対応しています。
>
> > [accordion] 利用可能なスタイリングオプション
> >
> > **変数**—CSS カスタムプロパティ
> >
> > * `common`—すべてのテーマに適用
> > * `light`—ライトテーマのみ
> > * `dark`—ダークテーマのみ
> >
> > **クラス**—コンポーネントのクラス上書き
> >
> > * `SsoProviderEdit-header`
> > * `SsoProviderEdit-tabs`
> > * `ProviderConfigure-ThirdPartyAccess`
> > * `ProviderConfigure-CrossAppAccess`
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   styling={{
>     variables: {
>       common: {
>         "--font-size-title": "1.5rem",
>       },
>       light: {
>         "--color-primary": "#059669",
>       },
>     },
>     classes: {
>       "SsoProviderEdit-tabs": "border-b border-gray-200",
>     },
>   }}
> />
> ```
>
> ***
>
> ## 高度なカスタマイズ
>
> ### 利用可能なフック
>
> これらのフックは、UIを介さずに基盤となるロジックを提供します。Auth0 API連携を活用して、独自のインターフェースを自由に構築できます。
>
> <table>
>   <thead>
>     <tr>
>       <th>Hook</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `useSsoProviderEdit`
>       </td>
>
>       <td>Providerの読み込みと更新処理</td>
>     </tr>
>
>     <tr>
>       <td>
>         `useSsoDomainTab`
>       </td>
>
>       <td>ドメインの関連付け管理</td>
>     </tr>
>   </tbody>
> </table>

> [tab] shadcn
>
> ## 設定要件
>
> **Auth0 Configuration が必要です**—テナントが
> My Organization API で設定されていることを確認してください。[設定ガイドを表示
> →](/docs/docs/ja-jp/get-started/universal-components/web/components/build-delegated-admin#configure-auth0-dashboard)
>
> ## インストール
>
> GitHub Registry を使用して、shadcn CLI 経由でコンポーネントをインストールします。
>
> ```bash wrap lines theme={null}
> npx shadcn@latest add auth0/auth0-ui-components/react/my-organization/sso-provider-edit
> ```
>
> shadcn CLIでは、共有ユーティリティとAuth0連携に必要な`@auth0/universal-components-core`の
> 依存関係もインストールされます。
> **shadcn CLI v2.5.0以降**が必要です。
>
> **レガシーVercelレジストリは廃止されました**：Vercelがホストしていたレジストリ
> (`https://auth0-universal-components.vercel.app/r/...`) は
> **2026年9月17日**に廃止されました。上記のGitHub Registryパスを使用してください。
>
> ## はじめに
>
> ```tsx wrap lines theme={null}
> import { SsoProviderEdit } from "@/components/auth0/my-organization/sso-provider-edit";
>
> export function EditProviderPage({ providerId }) {
>   const navigate = useNavigate();
>
>   return (
>     <SsoProviderEdit
>       providerId={providerId}
>       backButton={{
>         onClick: () => navigate("/providers"),
>       }}
>       sso={{
>         updateAction: {
>           onAfter: () => console.log("Provider updated"),
>         },
>       }}
>     />
>   );
> }
> ```
>
> > [accordion] 連携の完全な例
> >
> > ```tsx lines theme={null}
> > import React from "react";
> > import { SsoProviderEdit } from "@/components/auth0/my-organization/sso-provider-edit";
> > import { Auth0Provider } from "@auth0/auth0-react";
> > import { Auth0ComponentProvider } from "@auth0/universal-components-react/spa";
> > import { useNavigate, useParams } from "react-router-dom";
> > import { analytics } from "./lib/analytics";
> >
> > function EditProviderPage() {
> >   const { providerId } = useParams();
> >   const navigate = useNavigate();
> >
> >   return (
> >     <div className="max-w-4xl mx-auto p-6">
> >       <SsoProviderEdit
> >         providerId={providerId}
> >         backButton={{
> >           onClick: () => navigate("/providers"),
> >         }}
> >         sso={{
> >           updateAction: {
> >             onAfter: (provider) => {
> >               analytics.track("Provider Updated", { name: provider.name });
> >               toast.success("Provider configuration saved");
> >             },
> >           },
> >           deleteAction: {
> >             onBefore: (provider) => {
> >               return confirm(
> >                 `Permanently delete "${provider.display_name}"? This cannot be undone.`,
> >               );
> >             },
> >           },
> >           deleteFromOrganizationAction: {
> >             onBefore: (provider) => {
> >               return confirm(
> >                 `Remove "${provider.display_name}" from this organization?`,
> >               );
> >             },
> >             onAfter: () => {
> >               toast.success("Provider removed from organization");
> >               navigate("/providers");
> >             },
> >           },
> >         }}
> >         provisioning={{
> >           createAction: {
> >             onAfter: () => toast.success("SCIM provisioning enabled"),
> >           },
> >           createScimTokenAction: {
> >             onAfter: () =>
> >               toast.info("Copy your SCIM token - it won't be shown again"),
> >           },
> >         }}
> >         domains={{
> >           associateToProviderAction: {
> >             onAfter: (domain) => {
> >               toast.success(`${domain.domain} assigned`);
> >             },
> >           },
> >           deleteFromProviderAction: {
> >             onBefore: (domain) => confirm(`Remove ${domain.domain}?`),
> >           },
> >         }}
> >         customMessages={{
> >           tabs: {
> >             sso: "Configuration",
> >             provisioning: "User Sync (SCIM)",
> >             domains: "Linked Domains",
> >           },
> >         }}
> >         styling={{
> >           variables: {
> >             common: { "--color-primary": "#059669" },
> >           },
> >         }}
> >       />
> >     </div>
> >   );
> > }
> >
> > export default function App() {
> >   const domain = "your-domain.auth0.com";
> >
> >   return (
> >     <Auth0Provider
> >       domain={domain}
> >       clientId="your-client-id"
> >       authorizationParams={{
> >         redirect_uri: window.location.origin,
> >       }}
> >       interactiveErrorHandler="popup" // Universal Login ポップアップでステップアップ認証チャレンジを処理するために必要
> >     >
> >       <Auth0ComponentProvider>
> >         <EditProviderPage />
> >       </Auth0ComponentProvider>
> >     </Auth0Provider>
> >   );
> > }
> >
> > ```
>
> ## プロップ
>
> ### 基本プロパティ
>
> コアプロップスは、コンポーネントの動作に不可欠です。`SsoProviderEdit` で正しいプロバイダーを読み込み、編集するには、プロバイダーIDが必要です。
>
> <table>
>   <thead>
>     <tr>
>       <th>プロップ</th>
>       <th>型</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `providerId`
>       </td>
>
>       <td>
>         `string`
>       </td>
>
>       <td>
>         **必須。** 編集するSSO ProviderのID。
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> ***
>
> ### 表示プロップス
>
> 表示用プロップスは、コンポーネントの動作に影響を与えることなく、レンダリング方法を制御します。
>
> <table>
>   <thead>
>     <tr>
>       <th>プロパティ</th>
>       <th>型</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `hideHeader`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         ヘッダーセクションを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideProvisioningTab`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         プロビジョニング (SCIM) タブを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideDomainsTab`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         ドメインタブを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideDeleteProvider`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         プロバイダー削除のアクションを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideRemoveFromOrganization`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         organization からの削除アクションを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `hideAttributeMappings`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         属性マッピングのセクションを非表示にします。デフォルト: `false`
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> ***
>
> ### Action のプロップス
>
> 3つのタブにおけるユーザー操作は、各タブ名 (`sso`、`provisioning`、`domains`) の下に整理された複数のアクションプロップスで処理されます。
>
> <table>
>   <thead>
>     <tr>
>       <th>プロップス</th>
>       <th>型</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `backButton`
>       </td>
>
>       <td>
>         `Object`
>       </td>
>
>       <td>
>         戻るボタンの設定。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `sso`
>       </td>
>
>       <td>
>         `SsoProviderTabEditProps`
>       </td>
>
>       <td>
>         SSOタブのアクション。[詳細](#sso-tab-actions)
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `provisioning`
>       </td>
>
>       <td>
>         `SsoProvisioningTabEditProps`
>       </td>
>
>       <td>
>         プロビジョニングタブのアクション。
>         [詳細](#provisioning-tab-actions)
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `domains`
>       </td>
>
>       <td>
>         `SsoDomainsTabEditProps`
>       </td>
>
>       <td>
>         ドメインタブのアクション。[詳細](#domains-tab-actions)
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **backButton**
>
> **型:** `{ icon?: LucideIcon; onClick: (e: MouseEvent) => void }`
>
> コンポーネントのヘッダーにある戻るボタンを設定します。このボタンを使用すると、プロバイダー一覧に戻ることができます。
>
> **プロパティ:**
>
> * `icon`—カスタム Lucide アイコンコンポーネント (省略可。デフォルトは ArrowLeft)
> * `onClick`—ナビゲーション用のクリックハンドラー
>
> **例：**
>
> ```tsx wrap lines theme={null}
> import { ChevronLeft } from "lucide-react";
>
> <SsoProviderEdit
>   providerId={providerId}
>   backButton={{
>     icon: ChevronLeft,
>     onClick: () => navigate("/providers"),
>   }}
> />;
> ```
>
> ***
>
> ### SSO タブのアクション
>
> `sso` プロップは、SSO 設定タブの操作を構成します。このタブでは、プロバイダーの認証設定を管理します。
>
> <table>
>   <thead>
>     <tr>
>       <th>Action</th>
>       <th>タイプ</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `updateAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider, IdentityProvider>`
>       </td>
>
>       <td>
>         プロバイダーの設定を更新します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider>`
>       </td>
>
>       <td>
>         テナントからプロバイダーを完全に削除します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteFromOrganizationAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider>`
>       </td>
>
>       <td>
>         テナントから削除することなく、organization からプロバイダーを解除します。
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **sso.updateAction**
>
> **型:** `ComponentAction<IdentityProvider, IdentityProvider>`
>
> プロバイダー設定 (クライアントID、シークレット、証明書など) の変更を保存するかどうかを制御します。
>
> **プロパティ:**
>
> * `disabled`—保存ボタンを無効にします
> * `onBefore(provider)`—更新前に実行されます。保存を中止するには `false` を返します (たとえば、確認ダイアログを表示する場合) 。
> * `onAfter(provider, result)`—Provider が正常に更新された後に実行されます。通知の表示やイベントの追跡に使用します。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   sso={{
>     updateAction: {
>       onBefore: (provider) => {
>         return confirm("Save changes to provider configuration?");
>       },
>       onAfter: (provider) => {
>         toast.success("Provider configuration saved");
>         analytics.track("Provider Updated", { name: provider.name });
>       },
>     },
>   }}
> />
> ```
>
> ***
>
> **sso.deleteAction**
>
> **型:** `ComponentAction<IdentityProvider>`
>
> Auth0 テナントからプロバイダーを完全に削除するかどうかを制御します。この操作は取り消せません。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> sso={{
>   deleteAction: {
>     onBefore: (provider) => {
>       return confirm(`Permanently delete "${provider.display_name}"? This cannot be undone.`);
>     },
>     onAfter: () => navigate("/providers"),
>   },
> }}
> ```
>
> ***
>
> **sso.deleteFromOrganizationAction**
>
> **型:** `ComponentAction<IdentityProvider>`
>
> プロバイダーを組織から削除する操作を制御します。プロバイダーは組織から切り離されますが、テナントには残り、後で再追加できます。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> sso={{
>   deleteFromOrganizationAction: {
>     onBefore: (provider) => {
>       return confirm(`Remove "${provider.display_name}" from this organization?`);
>     },
>     onAfter: () => navigate("/providers"),
>   },
> }}
> ```
>
> ***
>
> ### プロビジョニングタブの操作
>
> `provisioning`プロップは、SCIMプロビジョニングタブのアクションを設定します。このタブでは、SCIMプロトコルによるユーザーの自動プロビジョニングを管理します。
>
> <table>
>   <thead>
>     <tr>
>       <th>Action</th>
>       <th>種類</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `createAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider,
>                 CreateIdPProvisioningConfigResponseContent>`
>       </td>
>
>       <td>
>         SCIM プロビジョニングを有効化します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider>`
>       </td>
>
>       <td>
>         SCIM プロビジョニングを無効化します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `createScimTokenAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider,
>                 CreateIdpProvisioningScimTokenResponseContent>`
>       </td>
>
>       <td>
>         SCIM トークンを生成します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteScimTokenAction`
>       </td>
>
>       <td>
>         `ComponentAction<IdentityProvider>`
>       </td>
>
>       <td>
>         SCIM トークンを取り消します。
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **provisioning.createAction**
>
> **型:** `ComponentAction<IdentityProvider, CreateIdPProvisioningConfigResponseContent>`
>
> プロバイダーの SCIM プロビジョニングを有効にします。有効にすると、IDプロバイダーが使用するための SCIM トークンを生成できます。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> provisioning={{
>   createAction: {
>     onBefore: (provider) => {
>       return confirm("Enable SCIM provisioning for this provider?");
>     },
>     onAfter: (provider, config) => {
>       toast.success("SCIM provisioning enabled");
>       console.log("SCIM endpoint:", config.scim_endpoint);
>     },
>   },
> }}
> ```
>
> ***
>
> **provisioning.deleteAction**
>
> **型:** `ComponentAction<IdentityProvider>`
>
> SCIMプロビジョニングを無効にし、そのアイデンティティプロバイダーのすべてのプロビジョニング設定を削除します。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> provisioning={{
>   deleteAction: {
>     onBefore: (provider) => {
>       return confirm("Disable SCIM provisioning? This will stop automatic user sync.");
>     },
>     onAfter: () => toast.success("SCIM provisioning disabled"),
>   },
> }}
> ```
>
> ***
>
> **provisioning.createScimTokenAction**
>
> **型:** `ComponentAction<IdentityProvider, CreateIdpProvisioningScimTokenResponseContent>`
>
> アイデンティティプロバイダーがAuth0で認証するための新しいSCIMベアラートークンを生成します。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> provisioning={{
>   createScimTokenAction: {
>     onAfter: (provider, tokenResponse) => {
>       // トークンは一度しか表示されないため、すぐにコピーしてください
>       console.log("New SCIM token generated");
>     },
>   },
> }}
> ```
>
> ***
>
> **provisioning.deleteScimTokenAction**
>
> **型:** `ComponentAction<IdentityProvider>`
>
> SCIM トークンを取り消します。新しいトークンが生成されるまで、IDプロバイダーはユーザーを同期できなくなります。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> provisioning={{
>   deleteScimTokenAction: {
>     onBefore: () => {
>       return confirm("Revoke SCIM token? Your identity provider will lose access immediately.");
>     },
>   },
> }}
> ```
>
> ***
>
> ### ドメインタブの操作
>
> `domains` プロパティでは、ドメインタブのアクションを設定します。このタブには、プロバイダーに割り当てられた検証済みドメインが一覧表示され、ユーザーはドメインを削除したり、**Assign Domain(s)** ダイアログからドメインを追加で割り当てたりできます。1つのドメインは1つの接続にのみ割り当てられるため、ダイアログには、どの接続にも関連付けられていない検証済みドメインのみが表示されます。ドメインを作成または検証するには、[DomainTable コンポーネント](/docs/docs/ja-jp/get-started/universal-components/web/components/configure-org-domains)を使用してください。
>
> <table>
>   <thead>
>     <tr>
>       <th>Action</th>
>       <th>種類</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `associateToProviderAction`
>       </td>
>
>       <td>
>         `ComponentAction<Domain, IdentityProvider | null>`
>       </td>
>
>       <td>
>         ドメインをプロバイダーに割り当てます。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `deleteFromProviderAction`
>       </td>
>
>       <td>
>         `ComponentAction<Domain, IdentityProvider | null>`
>       </td>
>
>       <td>
>         プロバイダーからドメインを削除します。
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **domains.associateToProviderAction**
>
> **型:** `ComponentAction<Domain, IdentityProvider | null>`
>
> **Assign Domain(s)** ダイアログで選択したドメインごとに1回ずつ実行されます。選択したすべてのドメインの割り当てが完了すると、ダイアログは閉じます。いずれかの割り当てが失敗した場合、ダイアログは開いたままになります。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> domains={{
>   associateToProviderAction: {
>     onAfter: (domain, provider) => {
>       console.log(`${domain.domain} now routes to ${provider?.name}`);
>     },
>   },
> }}
> ```
>
> ***
>
> **domains.deleteFromProviderAction**
>
> **型:** `ComponentAction<Domain, IdentityProvider | null>`
>
> ユーザーがテーブルの削除ボタンでプロバイダーからドメインを削除したときに実行されます。確認ダイアログは表示されず、ドメインはすぐに削除されます。独自の確認処理を追加するには `onBefore` を使用してください。
>
> **例：**
>
> ```tsx wrap lines theme={null}
> domains={{
>   deleteFromProviderAction: {
>     onBefore: (domain) => confirm(`Remove ${domain.domain} from this provider?`),
>   },
> }}
> ```
>
> ***
>
> ### カスタマイズ用プロップス
>
> カスタマイズ用プロップスを使用すると、ソースコードを変更せずに、ブランド、ロケール、バリデーションの要件に合わせてコンポーネントを調整できます。
>
> <table>
>   <thead>
>     <tr>
>       <th>プロパティ</th>
>       <th>型</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `schema`
>       </td>
>
>       <td>
>         `SsoProviderEditSchema`
>       </td>
>
>       <td>
>         フィールドのバリデーションルール。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `customMessages`
>       </td>
>
>       <td>
>         `Partial<SsoProviderEditMessages>`
>       </td>
>
>       <td>
>         i18n テキストの上書き。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `styling`
>       </td>
>
>       <td>
>         `ComponentStyling<SsoProviderEditClasses>`
>       </td>
>
>       <td>
>         CSS 変数およびクラスの上書き。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `resolveSamlMetadata`
>       </td>
>
>       <td>
>         `(params: { connectionName: string }) => { entityId: string }`
>       </td>
>
>       <td>
>         読み取り専用の SAML メタデータフィールドに表示する SP 発行者 URN (サービスプロバイダーのエンティティ ID) を指定します。
>       </td>
>     </tr>
>
>     <tr>
>       <td>
>         `showSignRequest`
>       </td>
>
>       <td>
>         `boolean`
>       </td>
>
>       <td>
>         SAML リクエスト署名のフィールドを表示または非表示にします。デフォルト: `true`
>       </td>
>     </tr>
>   </tbody>
> </table>
>
> **SP メタデータフィールド**
>
> SAML接続の編集画面には、管理者がIdPに貼り付けるサービスプロバイダー (SP) メタデータのフィールドが4つ、読み取り専用かつコピー可能な形で表示されます: **Callback URL**、**ACS URL**、**SP Metadata URL**、**SP Issuer URN**。最初の3つはテナントドメインと接続名から自動的に算出されるため、設定は不要です。Auth0 Universal Components ではテナント名を取得できないため、**SP Issuer URN** (Entity ID) はホスト側で `resolveSamlMetadata` プロップを使って指定します。
>
> **resolveSamlMetadata**
>
> 省略可。読み取り専用の SAML メタデータフィールドに表示される SP 発行者 URN を返します。コールバックは `{ connectionName }` を受け取り、`{ entityId }` を返します:
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   resolveSamlMetadata={({ connectionName }) => ({
>     entityId: `urn:auth0:YOUR_TENANT_NAME:${connectionName}`,
>   })}
> />
> ```
>
> 省略した場合、URN は `urn:auth0:<tenant-derived-from-domain>:<connectionName>` にフォールバックします。コールバックが文字列ではなくオブジェクトを返すのは、Auth0 が今後、破壊的変更なしに SP フィールドを追加できるようにするためです。使用されるのは `entityId` のみです。
>
> ***
>
> **showSignRequest**
>
> 省略可。SAML 設定の **Advanced Settings** に、**Sign Request** チェックボックスと、**Sign Request Algorithm** および **Sign Request Algorithm Digest** フィールドを表示するかどうかを制御します。デフォルトは `true` です。これらのフィールドを非表示にするには `false` に設定します。その場合も、**Advanced Settings** セクションと **Request Protocol Binding** フィールドは引き続き表示されます。
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   showSignRequest={false}
> />
> ```
>
> フィールドを非表示にしても、接続のリクエスト署名の設定は変更されません。既存の接続でリクエスト署名が有効になっている場合、管理者が変更を保存しても有効なまま維持されます。このプロップはSAML接続にのみ適用され、PingFederate接続には影響しません。
>
> ***
>
> **スキーマ**
>
> プロバイダーとドメインのフィールドにカスタムバリデーションルールを設定します。
>
> > [accordion] 利用可能なスキーマフィールド
> >
> > すべてのスキーマフィールドでサポートされる項目: `regex`, `errorMessage`, `minLength`, `maxLength`, `required`
> >
> > **provider.**\*—strategy別のProvider設定フィールド
> >
> > * 共通: `name`, `displayName`
> > * strategy固有のフィールド (SsoProviderCreateと同じ)
> >
> > **domains.create.domainUrl**—ドメインURLのバリデーション
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   schema={{
>     provider: {
>       displayName: {
>         required: true,
>         maxLength: 100,
>       },
>     },
>     domains: {
>       create: {
>         domainUrl: {
>           regex: /^[a-z0-9.-]+\.[a-z]{2,}$/,
>           errorMessage: "Enter a valid domain (example.com)",
>         },
>       },
>     },
>   }}
> />
> ```
>
> ***
>
> **customMessages**
>
> すべてのテキストと翻訳をカスタマイズできます。すべてのフィールドは任意で、指定しない場合はデフォルト値が使用されます。
>
> > [accordion] 利用可能なメッセージ
> >
> > **header**—コンポーネントのヘッダー
> >
> > * `title`, `back_button_text`
> >
> > **tabs**—タブのラベルとコンテンツ
> >
> > * `tabs.sso.name`—SSOタブのラベル
> > * `tabs.sso.content`—SSOタブのメッセージ
> >   * `details.third_party_access`—`title`, `label`, `helper_text`
> >   * `details.cross_app_access`—`title`, `label`, `helper_text`, `domain_verification_text`, `saml_description`, `saml_discovery_url_label`, `saml_discovery_url_placeholder`, `saml_discovery_url_helper`
> >   * `title`, `description`
> >   * `fields.*`—strategyごとのフォームフィールドラベル。SAMLの場合、`fields.samlp` には、Auth0が算出する読み取り専用のSPメタデータフィールドが含まれます。管理者はこれらの値をコピーしてIdPに設定します:
> >     * `fields.samlp.callback_url`—`label`, `helper_text` (読み取り専用のCallback URL)
> >     * `fields.samlp.acs_url`—`label`, `helper_text` (読み取り専用のACS URL)
> >     * `fields.samlp.sp_metadata_url`—`label`, `helper_text` (読み取り専用のSPメタデータURL)
> >     * `fields.samlp.sp_issuer_urn`—`label`, `helper_text` (読み取り専用のSP発行者URN / Entity ID)
> >   * `actions.save_button_text`, `actions.delete_button_text`
> >   * `delete_modal.*`, `remove_modal.*`
> > * `tabs.provisioning.name`—プロビジョニングタブのラベル
> > * `tabs.domains.name`—ドメインタブのラベル
> >
> > **provisioning\_tab**—プロビジョニングタブ
> >
> > * `title`, `description`
> > * `scim_endpoint.label`, `scim_token.label`
> > * `actions.enable_button_text`, `actions.disable_button_text`
> > * `actions.generate_token_button_text`, `actions.revoke_token_button_text`
> >
> > **tabs.domains.content**—ドメインタブ
> >
> > * `title`, `description`, `create_button_text`
> > * `table.empty_message`, `table.columns.name`, `table.columns.status`
> > * `table.actions.remove_domain_tooltip`, `table.actions.remove_domain_aria_label`
> > * `table.domain_statuses.pending`, `table.domain_statuses.verified`, `table.domain_statuses.failed`
> > * `domain_assign`—ドメイン割り当てダイアログ
> >   * `title`, `description`
> >   * `field.label`, `field.placeholder`, `field.helper_text`, `field.empty_message`
> >   * `learn_more.text`, `learn_more.link_text`
> >   * `actions.cancel_button_text`, `actions.assign_button_text`
> >   * `success`, `error`—ドメイン割り当て後の通知
> > * `domain_associate_provider.success`, `domain_delete_provider.success`—ドメインの割り当てまたは削除後の通知
> >
> > **notifications**—APIレスポンス
> >
> > * `provider_update_success`, `provider_delete_success`
> > * `provisioning_enable_success`, `provisioning_disable_success`
> > * `scim_token_create_success`, `scim_token_delete_success`
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   customMessages={{
>     header: {
>       title: "Edit Provider",
>     },
>     tabs: {
>       sso: {
>         name: "Settings",
>         content: {
>           details: {
>             third_party_access: {
>               title: "Third-Party Application Access",
>               label: "Allow this provider to be used by third-party applications",
>               helper_text: "External applications can authenticate users through this provider.",
>             },
>             cross_app_access: {
>               title: "Cross App Access",
>               label: "Allow this provider to authorize access to this Resource Application",
>               helper_text: "Accept authorizations from this provider to issue API access tokens.",
>               domain_verification_text: "The OIDC issuer domain must be verified.",
>               saml_description: "Provide the identity provider's OpenID Connect Configuration.",
>               saml_discovery_url_label: "OIDC Issuer or Discovery URL",
>               saml_discovery_url_helper: "Enter an issuer URL or discovery URL",
>             },
>           },
>           actions: {
>             save_button_text: "Save Changes",
>           },
>         },
>       },
>       provisioning: { name: "User Sync" },
>       domains: { name: "Domains" },
>     },
>     notifications: {
>       provider_update_success: "Provider saved successfully!",
>     },
>   }}
> />
> ```
>
> ***
>
> **スタイリング**
>
> CSS変数とクラスのオーバーライドで外観をカスタマイズできます。テーマに応じたスタイリングに対応しています。
>
> > [accordion] 利用可能なスタイリングオプション
> >
> > **変数**—CSS カスタムプロパティ
> >
> > * `common`—すべてのテーマに適用
> > * `light`—ライトテーマのみ
> > * `dark`—ダークテーマのみ
> >
> > **クラス**—コンポーネントのクラス上書き
> >
> > * `SsoProviderEdit-header`
> > * `SsoProviderEdit-tabs`
> > * `ProviderConfigure-ThirdPartyAccess`
> > * `ProviderConfigure-CrossAppAccess`
>
> ```tsx wrap lines theme={null}
> <SsoProviderEdit
>   providerId={providerId}
>   styling={{
>     variables: {
>       common: {
>         "--font-size-title": "1.5rem",
>       },
>       light: {
>         "--color-primary": "#059669",
>       },
>     },
>     classes: {
>       "SsoProviderEdit-tabs": "border-b border-gray-200",
>     },
>   }}
> />
> ```
>
> ***
>
> ## 高度なカスタマイズ
>
> ### 利用可能なフック
>
> これらのフックは、UIを介さずに基盤となるロジックを提供します。Auth0 API連携を活用して、独自のインターフェースを自由に構築できます。
>
> <table>
>   <thead>
>     <tr>
>       <th>Hook</th>
>       <th>説明</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>
>         `useSsoProviderEdit`
>       </td>
>
>       <td>Providerの取得・編集ロジック</td>
>     </tr>
>
>     <tr>
>       <td>
>         `useSsoDomainTab`
>       </td>
>
>       <td>ドメインの関連付け管理</td>
>     </tr>
>   </tbody>
> </table>
