> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-eval-flywheel-swift-quickstart.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# WS-Federation要求の受け入れ

> このエンドポイントはWS-Federation要求を受け入れてログインを開始します。

`GET /wsfed/{clientId}`

このエンドポイントはWS-Federation要求を受け入れてログインを開始します。

### 備考

`wtrealm`パラメーターの形式は以下のいずれかでなければなりません。

* `urn:clientID`（たとえば、`urn:${account.clientId}`）

* このパラメーターがurnで始まらない場合、`client.clientAliases`配列を使って検索します。これを設定できるのは\[/api/v2/clients]（[https://auth0.com/docs/ja-jp/api/management/v2/clients/get-clients）Management](https://auth0.com/docs/ja-jp/api/management/v2/clients/get-clients%EF%BC%89Management) APIのみです。

* `whr`パラメーターは、以下のように接続にマッピングされます：`urn:CONNECTION_NAME`. たとえば、`urn:google-oauth2`はGoogleでのログインを意味します。`whr`パラメーターが含まれていない場合、ユーザーには[Auth0ログインページ](https://auth0.com/docs/login_page)が表示されます。

### 詳しい情報

* [WS-Federation](https://auth0.com/docs/ja-jp/authenticate/protocols/ws-fed-protocol)

## Parameters

<ParamField body="client-id" type="string" required>
  アプリケーションの`client-id`です。
</ParamField>

<ParamField query="wtrealm" type="string">
  `client-id`の代わりに利用できます。
</ParamField>

<ParamField query="whr" type="string">
  接続名（ログインページをスキップするために使用）です。
</ParamField>

<ParamField query="wctx" type="string">
  アプリケーションの状態です。
</ParamField>

<ParamField query="wreply" type="string">
  Callback URLです。
</ParamField>

## Response

| Status | Description                  |
| ------ | ---------------------------- |
| 200    | WS-Federation要求が成功した場合の応答です。 |
