# Assertion Consumer Service (ACS)

Receives the SAML authentication response from your identity provider after you authenticate.
The identity provider sends a `SAMLResponse` to this endpoint using the SAML HTTP POST binding. The response is validated and, if successful, completes your SAML sign-in.
This endpoint implements the [SAML 2.0 Web Browser SSO Profile](https://docs.oasis-open.org/security/saml/v2.0/saml-profiles-2.0-os.pdf). For details of the SAML message format and protocol requirements, refer to the OASIS SAML 2.0 specification.

Endpoint: POST /login/saml2/sso
Version: 2026Q4

## Header parameters:

  - `X-External-Correlation-Id` (string)
    Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. [Learn more](/guides/developer/headers/correlation-id).

## Request fields (application/x-www-form-urlencoded):

  - `SAMLResponse` (string, required)
    Base64-encoded SAML `<samlp:Response>` message issued by the identity provider.

  - `RelayState` (string)
    Opaque state value. If the authentication request included a `RelayState`, the identity provider returns it unchanged.

