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

> シングルサインオン（SSO）の実装時に関連するAuth0 Authentication APIおよびManagement APIのエンドポイントについて説明します。

# シングルサインオンのAPIエンドポイント

<Tooltip tip="シングルサインオン（SSO）: ユーザーが1つのアプリケーションにログインすると、他のアプリケーションにも自動的にログインできるようにするサービスです。" cta="用語集を表示" href="/ja/docs/glossary?term=Single+Sign-on">シングルサインオン</Tooltip> (SSO) を実装して設定を構成する際は、次のAPIエンドポイントが役立ちます。

<div id="authentication-api-endpoints">
  ## Authentication API エンドポイント
</div>

<div id="post-logincallback">
  ### POST /login/callback
</div>

<Tooltip tip="IDプロバイダー（IdP）：デジタル ID を保存および管理するサービス。" cta="用語集を見る" href="/ja/docs/glossary?term=Identity+Provider">IDプロバイダー</Tooltip> (IdP) によって開始される SSO フローでは、[POST /login/callback](https://auth0.com/docs/api/authentication#idp-initiated-single-sign-on-sso-flow) エンドポイントで、IDプロバイダーからのサインオン <Tooltip tip="SAML：パスワードなしで 2 者間で認証情報を交換できるようにする標準化プロトコル。" cta="用語集を見る" href="/ja/docs/glossary?term=SAML">SAML</Tooltip> リクエストを受け付けることができます。

<div id="management-api">
  ## Management API
</div>

<Tooltip tip="Management API: 顧客が管理タスクを実行するための製品です。" cta="用語集を表示" href="/ja/docs/glossary?term=Management+API">Management API</Tooltip> には、SSO の管理に役立つ複数のエンドポイントがあります。

Management API のエンドポイントを呼び出すには、[アクセストークンを取得](https://auth0.com/docs/api/management/v2/tokens)する必要があります。

<div id="clients">
  ### クライアント
</div>

すべてのクライアントアプリケーション/SSO 統合には、SSO 実装に関連する情報が含まれています。この情報は、Clients エンドポイントのいずれかを呼び出して取得または変更できます。

各クライアントの主なパラメーターは次のとおりです。

* `sso`: SSO 統合経由で作成されたクライアントにのみ適用されるフラグです。`true` の場合は Auth0 が SSO を処理し、`false` の場合は IdP が SSO を処理します。
* `sso_disabled`: SSO の有効/無効を切り替えるためのフラグです。`true` の場合、SSO は無効です。`false` の場合、SSO は有効です。このオプションは Management API 経由でのみ設定できます。
* `app_type`: アプリケーションタイプ。クライアントが Auth0 の組み込み SSO 統合のいずれかを使用して作成された場合は、SSO 統合の名前が表示されます (例: `native` や `spa` ではなく、`box` や `concur`) 。

<div id="get-all-clients">
  #### すべてのクライアントを取得
</div>

[GET /api/v2/clients](https://auth0.com/docs/api/management/v2#!/Clients/get_clients) エンドポイントを使用すると、テナントに設定されているクライアントアプリケーションに関する情報を取得できます。

<div id="create-a-client">
  #### クライアントを作成する
</div>

新しいクライアントアプリケーションを作成するには、[POST /api/v2/clients](https://auth0.com/docs/api/management/v2#!/Clients/post_clients) エンドポイントを使用します。

<div id="get-a-client">
  #### クライアントを取得する
</div>

[GET /api/v2/clients/{id}](https://auth0.com/docs/api/management/v2#!/Clients/get_clients_by_id) エンドポイントを使用すると、テナントに設定されている特定のクライアントの情報を取得できます。

<div id="update-a-client">
  #### クライアントを更新する
</div>

特定のクライアントは、SSO 関連のパラメーターを含めて、[PATCH /api/v2/clients/{id}](https://auth0.com/docs/api/management/v2#!/Clients/patch_clients_by_id) エンドポイントを使用して更新できます。

<div id="tenants">
  ### テナント
</div>

Auth0 では、SSO の実装に影響する可能性がある、次のテナントレベルのパラメーターを制御できます。

* `session_lifetime`: ユーザーの Auth0 セッションが有効な期間。
* `idle_session_lifetime`: 非アクティブ状態が続いた場合に、ユーザーが再度サインインするまでの時間。

<div id="get-tenant-settings">
  ### テナント設定を取得
</div>

[GET /api/v2/tenants/settings](https://auth0.com/docs/api/management/v2#!/Tenants/get_settings) エンドポイントは、現在のテナントの設定を取得します。

<div id="update-tenant-settings">
  ### テナント設定を更新
</div>

[POST /api/v2/connections](https://auth0.com/docs/api/management/v2#!/Tenants/patch_settings) エンドポイントでは、テナント設定を更新できます。
