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

# Accept WS-Federation Request

> Accept a WS-Federation request to initiate a login flow.

## Endpoint

`GET /wsfed/{clientId}`

This endpoint accepts a WS-Federation request to initiate a login.

### Remarks

* The `wtrealm` parameter must be in one of these formats:
  * `urn:clientID` (for example, `urn:${account.clientId}`)
  * If this parameter does not begin with a urn, the `client.clientAliases` array is used for look-up. This can only be set with the [/api/v2/clients](https://auth0.com/docs/api/management/v2/clients/get-clients) Management API.
* The `whr` parameter is mapped to the connection like this: `urn:CONNECTION_NAME`. For example, `urn:google-oauth2` indicates login with Google. If there is no `whr` parameter included, the user will be directed to the [Auth0 Login Page](https://auth0.com/docs/login_page).

### Learn More

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

## Path Parameters

<ParamField path="client-id" type="string" required>
  The `client-id` of your application.
</ParamField>

## Query Parameters

<ParamField query="wtrealm" type="string">
  Can be used in place of `client-id`.
</ParamField>

<ParamField query="whr" type="string">
  The name of the connection (used to skip the login page).
</ParamField>

<ParamField query="wctx" type="string">
  Your application's state.
</ParamField>

<ParamField query="wreply" type="string">
  The callback URL.
</ParamField>

## Response Messages

| Status | Description                                    |
| ------ | ---------------------------------------------- |
| 200    | Successful response for WS-Federation request. |
