Handle SAML authentication request (Redirect binding)

GET /api/saml/{id}/authn

Process SAML authentication request using HTTP Redirect binding.

Path parameters

  • id string Required

    The ID of the SAML application.

Query parameters

  • SAMLRequest string Required

    The SAML request message.

    Minimum length is 1.

  • Signature string

    The signature of the request.

  • SigAlg string

    The signature algorithm.

  • RelayState string

    The relay state parameter.

Responses

  • 200 application/json

    OK

  • 302

    Redirects to the sign-in page.

  • 400

    Invalid SAML request.

  • 404

    The SAML application was not found.

GET /api/saml/{id}/authn
curl \
 --request GET 'https://[tenant_id].logto.app/api/saml/{id}/authn?SAMLRequest=string' \
 --header "Authorization: Bearer $ACCESS_TOKEN"