SAML Artifact Binding: send a reference through the browser and resolve the response over a back channel
SAML HTTP Artifact Binding sends a short artifact reference through the browser instead of the full SAML Response. The service provider (SP) then contacts the identity provider (IdP) over a back channel to retrieve the original message. This can reduce the size or exposure of the front-channel response, but receiving an artifact does not make an assertion trustworthy. The ArtifactResolve/ArtifactResponse exchange, issuer authentication, one-time use, and normal SAML message validation are still required.
SAML Artifact Binding: send a reference through the browser and resolve the response over a back channel
SAML HTTP Artifact Binding sends a short artifact reference through the browser instead of the full SAML Response. The service provider (SP) then contacts the identity provider (IdP) over a back channel to retrieve the original message. This can reduce the size or exposure of the front-channel response, but receiving an artifact does not make an assertion trustworthy. The ArtifactResolve/ArtifactResponse exchange, issuer authentication, one-time use, and normal SAML message validation are still required.
This article covers the HTTP Artifact Binding in OASIS SAML V2.0 Bindings. It is a different message transport from HTTP-POST or Redirect Binding. Confirm that both the SP and IdP support it and agree on the artifact resolution endpoint.
Message flow
The example below has the IdP send a login response as an artifact and the SP resolve it. The standard permits artifact binding for the request, the response, or both.
**The sender converts a SAML request or response into an artifact.** For example, the IdP creates a login response and sends the browser a short reference to it.
**The browser forwards the artifact to the other endpoint.** It carries the reference, not the full XML assertion.
**The SP sends an ArtifactResolve request.** It contacts the IdP's resolution endpoint over a back channel to retrieve the SAML protocol message referenced by the artifact.
**The IdP returns an ArtifactResponse.** It can contain a success or failure status and the original SAML message corresponding to the artifact.
**The SP validates the returned message.** Create a session only after the trusted IdP key, required signatures, issuer, destination, time, request correlation, replay protections, and other applicable SAML profile requirements have passed.
Security and operational controls
Artifacts must be hard to guess. The issuer should allow only the shortest practical validity period needed for resolution, and a successfully resolved artifact must not be reusable. A repeat resolution must not expose the original message again.
Send ArtifactResolve only to a trusted resolution endpoint. Protect requester authentication and message integrity using TLS, signatures, or the mechanisms required by the deployment profile. OASIS Core recommends signing ArtifactResolve and ArtifactResponse messages or protecting their authentication and integrity through the binding.
Do not expose raw artifacts in URLs, browser analytics, referrers, or excessive logs. If RelayState is used, protect its integrity and confidentiality separately; a sensitive state value is not protected merely because it accompanies an artifact.
Define error handling and retry limits for network failures, expired artifacts, wrong issuers, duplicate resolution, and signature failures. Never bypass response validation by creating a generic session.
Do not assume HTTP Artifact is always safer than HTTP-POST. It trades browser exposure for dependence on the artifact-resolution endpoint and trusted, available server-to-server communication.
When to consider it
Consider the binding when both SP and IdP support it and avoiding the full message in the browser front channel fits interoperability and operational needs. A conventional supported binding may be simpler when firewalls, back-channel availability, or SOAP/TLS operations make the resolution endpoint costly. Decide using peer support, the threat model, key and endpoint management, and failure handling—not message size or a general claim of security alone.
References
OASIS, [SAML V2.0 Bindings, §3.6 HTTP Artifact Binding](https://docs.oasis-open.org/security/saml/v2.0/saml-bindings-2.0-os.pdf)
OASIS, [SAML V2.0 Core, §3.5 ArtifactResolve and ArtifactResponse](https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf)
OASIS, [SAML V2.0 Technical Overview](https://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html)