Protocol and deployment notes · Deployment

SAML application deployment

On this pageConfigure an applicationConfigure SAML 1.x Browser/ArtifactConfigure a direct inbound SAML 1.x providerPublish and launchFederation-hub behaviorFail-closed compatibility boundaryValidate the retained boundary

Atlas supports SAML 2.0 and bounded SAML 1.0/1.1 Browser/POST profiles through its standard application and federation-provider APIs. It also supports the standard outbound SAML 1.0/1.1 Browser/Artifact profile through the same application and My Apps surfaces. Atlas can issue exact SAML 1.0 or 1.1 to a legacy relying party and can consume a signed SAML 1.0 or 1.1 Browser/POST response directly from a managed identity provider. SAML 2.0 remains the default.

Configure an application

In the application's domain.protocol object, select saml and set saml.protocolVersion to saml1.0 or saml1.1:

{
  "selectedProtocol": "saml",
  "saml": {
    "protocolVersion": "saml1.1",
    "browserSsoBinding": "browser-post",
    "entityId": "urn:mission:legacy-console",
    "acsUrl": "https://legacy.example.mil/saml/acs",
    "audienceUri": "urn:mission:legacy-console",
    "defaultRelayState": "https://legacy.example.mil/mission/console",
    "nameIdFormat": "emailAddress",
    "appUsernameFormat": "email",
    "authnContextClassRef": "urn:oasis:names:tc:SAML:1.0:am:HardwareToken",
    "responseSigned": true,
    "assertionSigned": true,
    "signatureAlgorithm": "rsa-sha256",
    "digestAlgorithm": "sha256",
    "attributeStatements": ["email"],
    "groupAttributeStatements": ["groups"],
    "maxSessionLifetimeMinutes": 60
  }
}

Use one exact absolute HTTPS ACS URL and one exact audience. The optional defaultRelayState becomes the SAML 1.x TARGET value. Atlas bounds this value and does not interpret it as an authorization grant. Assignment, application policy, required AAL, session freshness, TrustAI, and rate limits still apply.

Use saml1.0 only when the relying party requires signed MajorVersion="1" MinorVersion="0" protocol and assertion documents. Use saml1.1 for MajorVersion="1" MinorVersion="1". Atlas does not alias these versions. For SAML 2.0, use "protocolVersion": "saml2" or omit the field. Existing SAML 2.0 applications retain their current behavior.

Configure SAML 1.x Browser/Artifact

Select browser-artifact only for an exact SAML 1.0 or 1.1 application. The browser endpoint and SOAP resolver credentials are explicit partner bindings:

{
  "selectedProtocol": "saml",
  "saml": {
    "protocolVersion": "saml1.1",
    "browserSsoBinding": "browser-artifact",
    "entityId": "urn:mission:legacy-console",
    "acsUrl": "https://legacy.example.mil/saml/artifact",
    "artifactReceiverUrl": "https://legacy.example.mil/saml/artifact",
    "artifactLifetimeSeconds": 120,
    "artifactResolutionAuth": "http-basic",
    "artifactResolutionUsername": "atlas-legacy-console",
    "artifactResolutionCredentialRef": "vault://federation/saml/legacy-console/artifact",
    "audienceUri": "urn:mission:legacy-console",
    "defaultRelayState": "https://legacy.example.mil/mission/console",
    "nameIdFormat": "emailAddress",
    "responseSigned": true,
    "assertionSigned": true,
    "signatureAlgorithm": "rsa-sha256",
    "digestAlgorithm": "sha256",
    "attributeStatements": ["email"]
  }
}

The Vault object must expose the HTTP Basic password under the password key. Use a distinct username and password for each application connection. Plaintext passwords are not accepted in the application document. Atlas exposes the derived resolver URL:

https://<atlas-host>/api/v1/sso/saml/<app-id>/artifact-resolution

Exchange the exact HTTPS browser receiver, Atlas resolver URL, HTTP Basic username and secret out of band with the relying-party administrator. The resolver accepts SOAP 1.1 text/xml requests only. TLS and authenticated back-channel access are mandatory.

After ordinary Atlas assignment, access-policy, assurance, freshness, and TrustAI checks pass, My Apps redirects the browser to the registered receiver with exactly one TARGET and one SAMLart. Atlas constructs a standard 42-byte type 0x0001 artifact: the first two bytes identify the artifact type, the next 20 bytes are the SHA-1 SourceID of the per-application Atlas identification URL, and the final 20 bytes are a cryptographically random handle. SHA-1 is required only by this legacy routing format; XML signatures and digests remain RSA-SHA-256/SHA-256 or stronger.

The relying party submits the artifact in a SAML 1.x Request over the authenticated SOAP endpoint. Atlas returns a freshly signed, exact-version Response bound to InResponseTo and the registered Recipient, containing one separately signed assertion with artifact confirmation, exact issuer and audience, and current time bounds. Encrypted shared Redis state is atomically consumed. Replay, unknown state, expiry, or a wrong application destination returns the same signed Responder/RequestDenied response without an assertion. Wrong back-channel credentials return HTTP 401 and do not consume the artifact.

Configure a direct inbound SAML 1.x provider

Create the provider through the standard Federation Providers API. The consumer URL must end in the same canonical provider ID used by the request:

POST /api/v1/federation/providers
Content-Type: application/json

{
  "id": "mission-legacy-idp",
  "protocol": "saml",
  "name": "Mission legacy identity provider",
  "entityId": "https://idp.example.mil/saml1",
  "saml11BrowserPost": {
    "protocolVersion": "saml1.0",
    "consumerUrl": "https://atlas.example.mil/api/v1/authn/federated/saml1/browser-post/mission-legacy-idp",
    "audience": "urn:atlas:mission:legacy",
    "expectedTarget": "urn:atlas:target:legacy",
    "defaultReturnPath": "/trust/operations?view=federated",
    "signingCertificatesPem": ["-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----"]
  },
  "assurance": {"aal": 2, "ial": 1, "fal": 1}
}

Use the same API's /{providerId}/validate and /{providerId}/enable actions. Reads return certificate counts and SHA-256 fingerprints, never PEM bodies. protocolVersion accepts exactly saml1.0 or saml1.1; omission preserves the existing SAML 1.1 behavior. The profile requires one to five currently valid public RSA signing certificates of at least 2048 bits. Direct SAML 1.1 activation does not require the separate SAML 2.0 service-provider certificate, private key, or metadata runtime. The versions are not aliases: a configured 1.0 provider rejects a 1.1 response and vice versa.

The identity provider posts exactly one SAMLResponse and exactly one TARGET to the provider-specific consumer URL. Atlas verifies the signed Response and separately signed bearer assertion, exact issuer, Recipient, audience, Success status, time bounds, and one-time Response and assertion IDs. The configured TARGET is an exact partner binding; it is never browser navigation authority. Atlas returns only to defaultReturnPath, which must be a safe local Atlas path.

After cryptographic verification, the subject still enters Atlas's ordinary account-link, JIT lifecycle, group-sync, assurance, session, TrustAI, and provider-session controls. An upstream attribute is policy input, not an authorization grant. A disabled provider, unavailable replay authority, or failed local control denies the sign-in.

Publish and launch

After the application passes connector readiness and is activated, give the relying party this public metadata URL:

https://<atlas-host>/api/v1/sso/saml/<app-id>/metadata

For SAML 1.x, metadata publishes the exact 1.0 or 1.1 protocol support identifier, Atlas entity ID, and active signing certificate. Atlas does not publish a fictional SP-initiated SSO or logout service for a protocol that does not standardize those exchanges.

An assigned Browser/POST user launches the application from the standard Atlas My Apps surface or its authenticated launch API. Atlas returns a CSP-restricted auto-submit form to the exact ACS with:

  • SAMLResponse: Base64-encoded exact-version SAML 1.x protocol Response containing one signed same-version assertion;
  • TARGET: the bounded configured post-login target, when present.

The relying party must verify the Response signature and assertion signature with the certificate in metadata, reject SHA-1, require MajorVersion="1" and the configured MinorVersion (0 for SAML 1.0; 1 for SAML 1.1) on both documents, compare Recipient to its exact ACS, compare the audience to its configured entity/audience, validate time bounds, and consume the subject only after its own authorization checks.

Sending a SAML 2.0-style AuthnRequest to the application's /sso endpoint for a SAML 1.x application fails closed. Launch it from My Apps instead.

For Browser/Artifact, the same launch surface returns the one-time redirect described above. There is no browser-posted SAMLResponse; the signed assertion is released only to the authenticated SOAP resolver client.

Federation-hub behavior

When the authenticated Atlas session originated at a governed upstream OIDC or SAML provider, the launch also requires an active restriction-only hub route from that exact provider to the exact SAML application. A missing route is denied before token issuance. A route cannot override assignment, access policy, AAL, freshness, TrustAI, or relying-party authorization.

For the managed direct SAML 1.1 Browser/POST source profile, hub activation pins the exact source entity ID, profile, and public provider-configuration generation. Each governed launch then revalidates those values against the current runtime and the provider-session record created by the signed source response, including the exact Atlas session, tenant, local subject, provider, issuer, and generation. Caller-supplied source identity is ignored. Issuer or generation drift makes the hub authority unavailable rather than falling back to a weaker provider-ID-only route.

Sessions authenticated natively by Atlas continue through the ordinary My Apps controls; they do not acquire an implicit federation route.

Fail-closed compatibility boundary

The SAML 1.x readiness gate rejects:

  • unknown protocol versions;
  • request-signing configuration, because this profile has no standard SP-initiated authentication request;
  • multiple requestable ACS URLs;
  • SLO URL or issuer configuration;
  • assertion/XML encryption or an encryption-certificate reference; and
  • a missing or non-HTTPS ACS, audience, signing authority, or required application control.

Browser/Artifact additionally rejects SAML 2.0 selection, a non-HTTPS receiver, query or fragment components on the receiver, a lifetime outside 30–300 seconds, unsupported back-channel authentication, a missing username, or a credential value that is not a safe Vault reference.

Atlas does not claim inbound Browser/Artifact, mutual-TLS artifact resolution, PingFederate's proprietary destination-first flow, SAML 1.x single logout, SAML 1.x encryption, or general SAML 1.x protocol translation. Direct inbound support is limited to the explicitly enabled exact-version SAML 1.0/1.1 Browser/POST provider profile above. Those other features must not be represented as enabled merely because an application or provider is labeled SAML.

Validate the retained boundary

Run the focused package tests and the Docker federation gate:

Internal implementation checks are omitted from this public guide.

The retained artifact at artifacts/federation-hub-validation/20260815T223842Z proves the Atlas-owned Docker boundary against an independent TLS relying-party fixture: metadata, both XML signatures, exact Recipient and audience, TARGET, freshness, wrong-key rejection, SHA-1 absence, and hub allow/deny. It is not acceptance evidence for PingFederate, Okta, AD FS, or another named external product. The direct inbound receipt under artifacts/federation-external-acceptance/latest/saml11-direct-inbound.json proves the managed-provider and consumer boundary with cryptographic test identities. It likewise is not named-product interoperability evidence. The SAML 1.0 receipt under artifacts/federation-external-acceptance/latest/saml10-browser-post.json proves exact-version issuance through the standard My Apps path against an independent live TLS relying-party fixture, including expiration denial. It is also not named-product interoperability evidence. The Browser/Artifact receipt under artifacts/federation-external-acceptance/latest/saml1x-artifact.json proves exact SAML 1.0 and 1.1 type 0x0001 issuance, authenticated SOAP resolution, independent XML-DSig validation, destination binding, atomic one-time use, concurrency, expiry, and signed replay denial. It is likewise not named-product interoperability evidence.