User and operator guide · Developer

Application Onboarding

Status: currentReviewed: 2026-07-12Audience: developers, deployment engineers, identity engineers
On this pageCurrent CapabilityService BoundaryConnector Marketplace ModelProtocol Readiness MatrixAuthenticated SCIM User schema discoveryArtifact-Based Import ArchitectureCLI ContractZero-Trust Import RulesGateway Persistence ModelTarget Detection ArchitectureDetector InventorySide-Probes And Derived ProbesEvidence EnrichmentFetch And SSRF PostureCompatibility And Testing ContractExpress Wizard Architecture And SAML IdP EndpointsThird-party SAML interoperability harnessOIDC And SAML Completion ContractSWA, WS-Fed, And Legacy Completion ContractValidationEvidence Rule

Current Capability

Atlas application onboarding supports draft creation, protocol/profile capture, readiness checks, connector evidence, metadata import, artifact import, transaction tests, generated non-secret snippets, portable package import/export, operator-gated activation, access preview, access-review packages, local-live target app binding, a connector marketplace model, and a supported atlasctl apps command path.

For step-by-step defense practitioner guidance, use Application Onboarding Practitioner Guide.

Service Boundary

atlas-application-onboarding is the authoritative boundary for application onboarding drafts, generated packages, artifact import records, connector marketplace records, catalog entries, validation runs, and onboarding evidence.

The gateway remains the browser-facing BFF and preserves /api/v1/applications/onboarding/* compatibility. New BFF surfaces expose the same shared model through:

GET  /api/v1/applications/onboarding/drafts
POST /api/v1/applications/onboarding/drafts
GET  /api/v1/applications/onboarding/drafts/{draftId}
PUT  /api/v1/applications/onboarding/drafts/{draftId}
GET  /api/v1/applications/catalog
GET  /api/v1/applications/connectors
GET  /api/v1/applications/connectors/{connectorId}
POST /api/v1/applications/connectors/{connectorId}/validate
POST /api/v1/applications/connectors/{connectorId}/clone
GET  /api/v1/applications/packages/schema
POST /api/v1/applications/packages/verify
POST /api/v1/applications/import
GET  /api/v1/applications/onboarding/drafts/\{draftId}/package
GET  /api/v1/applications/\{applicationId}/package
GET  /api/v1/applications/validations

The service contract is described in service contract.

Draft CRUD is now available directly on atlas-application-onboarding:

GET  /v1/drafts
POST /v1/drafts
GET  /v1/drafts/{draftId}
PUT  /v1/drafts/{draftId}
POST /v1/drafts/{draftId}/archive
POST /v1/drafts/{draftId}/restore

The service stores normalized draft JSON with schemaVersion, storeVersion, normalized domain, and evidenceHash. The default service store path is controlled by ATLAS_APPLICATION_ONBOARDING_STORE_PATH; if unset, the service uses /tmp/atlas-application-onboarding/drafts.json for local-live and Docker-style runs. Obvious raw credential fields such as plaintext passwords, bearer tokens, client secrets, and private keys are rejected unless represented as approved references such as vault://, kms://, pkcs11://, or secret://.

The gateway continues to use the legacy in-process draft state unless a deployment explicitly sets:

ATLAS_APPLICATION_ONBOARDING_BASE_URL=http://atlas-application-onboarding:8097
ATLAS_APPLICATION_ONBOARDING_DRAFTS_SOURCE=service

When service-backed drafts are enabled and the service is unavailable, the gateway fails closed with 503 instead of silently writing to a second local draft store. Rich draft sub-actions such as artifact import, assistant deltas, readiness tests, package export, and activation remain on the gateway compatibility path until their service-owned migration sprint is complete.

The gateway dashboard includes a draftSource object with mode, source store, service-backed state, base URL configuration, and fail-closed posture. When draft service mode is enabled, dashboard draft counts are loaded from atlas-application-onboarding rather than the gateway snapshot.

The BFF hydrates service-owned draft JSON before returning it to the browser. This keeps direct service storage lightweight while preserving the wizard contract expected by /applications: catalog defaults, generated package metadata, validation status, readiness, readiness runway, and normalized domain data are present in gateway responses.

Postgres remains the target durable store for the complete onboarding service boundary. The migration anchor is data model; the current sprint adds service-owned draft persistence and a stable store interface so Postgres can replace the local file-backed store without changing browser or CLI contracts.

Connector Marketplace Model

The package-level marketplace model is implemented in Atlas service.

Model Purpose

ConnectorRecord

Versioned connector profile with category, maturity, certification status, authority mode, supported protocols, required artifact kinds, validation suites, environments, owner, version history, certification runs, deterministic test fixtures, package template summary, and evidence hash.

CatalogRecord

Operator-facing catalog entry derived from connector profiles. It declares assignment modes, provisioning modes, data handling, visibility, required artifacts, guidance, boundary notes, and package-template hash.

ConnectorValidationResult

Hash-backed validation result for connector publication or certification. It fails closed when protocols or artifacts are unsupported.

ConnectorTemplateCloneResult

Hash-backed clone result that gives the UI and CLI a connector-derived ApplicationDomain, package-template evidence, validation result, and operator next actions. It does not create an active application or mutate an external system.

ConnectorMarketplaceInventory

Snapshot returned by service, gateway, frontend, CLI, and validation artifacts.

Default connector authority is observe. External systems remain systems of record unless a deployment explicitly enables and validates stronger authority.

Connector listing supports filters for query, category, protocol, artifact kind, certification status, maturity, and environment. Operators can validate a connector profile or clone its template before importing artifacts. Clone output is a starting point for a reviewable draft; publication still requires import review, readiness tests, protocol positive evidence, protocol negative evidence, provisioning readiness evidence, package validation, and operator approval.

Protocol Readiness Matrix

The package publishes a deterministic protocol readiness matrix through the application onboarding control surface. The matrix is implemented in Atlas service and included in ControlSurface.protocolReadinessMatrix.

The matrix covers oidc, saml, swa, ws-fed, ldaps, header, api-service, and legacy-exception. Each row declares:

  • the nine onboarding steps that must remain available

  • accepted artifact kinds

  • deterministic fixture categories

  • required readiness checks from the protocol surface

  • evidence outputs expected in the readiness runway

  • positive, negative, lifecycle/revocation, and operator-acceptance validation cases

  • protocol positive evidence suites that prove an allowed subject can complete the flow

  • protocol negative evidence suites that prove denied, malformed, or replayed access fails closed

  • provisioning readiness evidence suites that prove deprovisioning, revocation, group push, session accounting, or lifecycle behavior is covered

  • generated package items and Antora documentation pages

The connector test runner consumes the same matrix. A draft is not publish-ready unless the runner emits passing positive-evidence-suite-declared, negative-evidence-suite-declared, provisioning-evidence-suite-declared, and publication-gate-cases-declared cases. These cases do not replace protocol-specific tests such as redirect URI, ACS, SCIM, proxy-header, or credential-reference checks; they prove that the package declares the evidence suites required for staging.

When a new protocol or artifact kind is added, update the protocol surface, adapter registry, readiness matrix, package tests, gateway route tests, frontend artifact-kind union, and practitioner documentation in the same change.

Authenticated SCIM User schema discovery

The standard external route POST /api/v1/applications/onboarding/drafts/{draftId}/scim-schema-import requires AAL2 and applications.onboarding.edit. A private target additionally requires applications.onboarding.probe.private. The browser sends the current draft and policy flags, never a bearer token. The gateway derives the base URL and reference-only credential from the draft and calls the application-onboarding authority with a one-request workload identity.

The authority resolves the credential server-side and retrieves /ResourceTypes and /Schemas over a DNS-pinned, proxy-free transport. Public targets are the default; redirects are revalidated and private destinations fail closed unless separately authorized. Each document is limited to 1 MiB, discovery accepts at most 64 resource types, 64 schemas, 1024 flattened attributes, four levels of nesting, and a 15-second maximum operation timeout. The selected ResourceType must reference urn:ietf:params:scim:schemas:core:2.0:User exactly. Every required extension must be present.

The returned import contains schema metadata and document hashes, not the resolved credential or profile values. Complex containers, write-only attributes, and attributes whose returned facet is never cannot enter the selectable picklist. The import and authority envelope are independently digest-verified before persistence and the import is committed to the exact target plus credential reference; changing either clears stale evidence. Discovered fields are review-only. No discovery operation creates a profile mapping, source authority, token claim, or provisioning release.

Artifact-Based Import Architecture

Artifact import is implemented as a staged adapter layer for application onboarding. The package boundary is Atlas service; gateway persistence and review staging are handled by API gateway.

Component Responsibility

ArtifactAdapterRegistry

Registers the supported artifact adapters, normalizes accepted kind aliases, and exposes observe-only adapter descriptors for validation and CLI tooling.

DetectArtifactImportKind

Performs schema detection for uploaded, pasted, or fetched JSON/XML artifacts. Auto-detection can identify OIDC discovery, SAML metadata, WS-Fed metadata, SCIM ServiceProviderConfig, LDAP/S manifests, proxy manifests, API/NPE manifests, legacy exception artifacts, OSCAL packages, STIG/SCAP evidence, PKI evidence, DDIL profiles, and audit evidence packages.

ArtifactSourceProvenance

Records source provenance for every import: requested kind, detected kind, detection confidence, source type, external system, external ID, authority mode, classification, last-seen timestamp, payload hash, evidence reference, external boundary, and redaction summary.

commercial-iam-application

Maps Commercial IAM application JSON/export-style records into catalog, protocol, sign-on, vendor-interoperability, lifecycle, testing, and generated-package suggestions.

oidc-discovery

Maps OpenID Provider/client metadata into OIDC issuer, JWKS, scopes, claims, grants, response types, redirect/logout URIs, token-auth, PKCE, refresh-token rotation, consent, and test-suite suggestions.

saml-metadata

Parses SAML metadata XML and maps entity ID, ACS/SLO endpoints, recipient/destination, NameID format, requested attributes, signing posture, algorithms, bounded session lifetime, and SAML readiness suites.

wsfed-metadata

Parses WS-Fed/federation metadata XML and maps realm, reply URL, metadata URL, signed-token posture, TLS posture, token algorithms, certificate-reference placeholder, bounded session lifetime, attributes, and WS-Fed readiness suites.

scim-service-provider-config

Maps SCIM ServiceProviderConfig into lifecycle mode, SCIM base URL, auth mode, capabilities, import safeguards, and lifecycle readiness suites.

ldaps-manifest

Maps LDAP/S JSON manifests into base DN, bind/search pattern, group filter, certificate reference, allowed attributes, read-only posture, TLS requirement, and LDAP/S readiness suites.

proxy-manifest

Maps reverse-proxy JSON manifests into username, email, group, and trust headers; trusted proxy boundary; spoofable header strip list; spoofing protection; and proxy-header readiness suites.

api-workload-manifest

Maps API workload/OpenAPI-style JSON into the API service/NPE surface: service account, sponsor, contact, credential reference, allowed audiences/scopes, runtime, workload attestation, and rotation evidence.

npe-manifest

Maps non-person entity records into the same API service/NPE surface with accountability tags, sponsor fields, bounded audiences/scopes, and credential lifecycle fields.

swa-manifest

Maps Secure Web Authentication JSON into login URL, selectors, vault reference, replay isolation, disabled password reveal posture, approver, active expiration, migration plan, legacy exception review fields, and SWA readiness suites.

legacy-exception-artifact

Maps temporary exception records into the legacy exception surface with requested flag, exception type, justification, approver, approval evidence, owner, expiration, migration target, migration plan, compensating controls, revalidation cadence, and exception review suites.

oscal-ssp

Maps OSCAL SSP JSON into mission boundary, RMF package reference, authorization boundary summary, responsible/evidence refs, and implemented controls.

oscal-component-definition

Maps OSCAL component-definition JSON into reusable control/evidence context for the mission boundary package.

stig-scap-evidence

Maps STIG, SCAP, checklist, XCCDF, or CKL-style evidence into configuration-assessment review context and evidence references.

pki-evidence-manifest

Maps PKI, certificate-chain, revocation, and trust-anchor evidence into certificate-review and negative-signature validation context.

ddil-profile

Maps disconnected, degraded, intermittent, or limited-connectivity profile evidence into cache freshness, fail-closed, reconnect, and replay validation context.

audit-evidence-package

Maps audit or SIEM evidence packages into hash-backed traceability, redaction, and manifest verification context.

The gateway exposes the adapter layer through:

POST /api/v1/applications/onboarding/drafts/\{draftId}/artifact-imports

Request fields are kind, sourceUrl, content, contentType, testConnection, and allowPrivateEndpoints. Responses include id, createdAt, kind, status, ready, score, sourceDigest, fieldSuggestions, cases, connectorResult, readinessRunway, warnings, and evidenceHash.

The compatibility layer is fail-closed. The artifact-schema-detected and artifact-kind-matches-detected-schema cases prevent an operator from importing an artifact under the wrong adapter. The artifact-freshness-current case blocks stale timestamped evidence outside the configured review window. The external-writeback-disabled case blocks artifacts that request authoritative external mutation, bidirectional sync, or writeback. Raw secrets and oversized artifacts are blocked before adapter parsing.

CLI Contract

atlasctl provides the supported command-line path for operators and automation.

atlasctl apps onboard init --name "Mission Portal" --protocol oidc --owner app-owner
atlasctl apps catalog search --query federation
atlasctl apps connectors list
atlasctl apps connectors list --query provisioning --category lifecycle --protocol saml --artifact-kind scim-service-provider-config
atlasctl apps connectors validate --id federated-web-oidc --protocols oidc --artifacts oidc-discovery,commercial-iam-application --evidence sha256:...
atlasctl apps connectors clone --id federated-web-oidc --name "Mission Portal" --owner mission-owner --protocol oidc
atlasctl apps packages export --draft-id draft-123 --file app-package.json
atlasctl apps packages import --file app-package.json
atlasctl apps packages verify --file app-package.json
atlasctl apps onboard import --draft-id draft-123 --kind commercial-iam-application --file external-export.json
atlasctl apps onboard package --draft-id draft-123 --file app-package.json
atlasctl apps onboard test --draft-id draft-123
atlasctl apps onboard submit --draft-id draft-123

Set ATLAS_GATEWAY_URL and ATLAS_TOKEN for gateway-backed operations. Use --local on catalog, connector, package verification, and draft-init commands when validating built-in contracts without a live gateway.

Package export reads from GET /api/v1/applications/onboarding/drafts/{draftId}/package for drafts or GET /api/v1/applications/{applicationId}/package for published applications. By default, atlasctl writes the portable package body only; --include-validation preserves the gateway validation wrapper for evidence review. Package import posts the package body to POST /api/v1/applications/import and creates a fresh draft. Submit and publish both use the draft completion gate and fail closed when readiness evidence is incomplete.

Zero-Trust Import Rules

Artifact import uses a staged review path.

  • Imported values become assistant field deltas with source artifact-import.

  • Draft fields change only after an operator accepts the deltas.

  • Raw secrets fail validation and are not converted into suggestions.

  • Source content is bounded to the adapter import limit and receives a SHA-256 source digest.

  • URL fetches reuse the metadata-import safety posture: HTTPS by default, private endpoints blocked unless lab allowance is explicit, bounded payloads, and redacted source evidence.

  • OSCAL SSP and component-definition data populates mission/RMF evidence context, authorization boundary summaries, implemented controls, and review references.

  • Stage and activation remain blocked by readiness runway status, operator acceptance, connector tests, generated-package validation, access preview, vendor interoperability, target-app evidence, and AAL gates.

Gateway Persistence Model

Successful artifact imports append a compact artifactImports record to the draft and inject an artifact-import-* source into the readiness runway. The persisted record contains import kind, status, score, source digest, suggestion count, case count, connector result summary, warnings, and evidence hash. Atlas stores compact import records rather than raw artifact bodies.

The field suggestions are staged using the same assistant-delta governance as metadata imports:

Source: artifact-import
Tool ID: artifact-importer:<kind>
Mutation: proposed field delta
Acceptance: operator-gated by owning wizard step

Target Detection Architecture

Content-based protocol detection for analyze-target is implemented as a modular detector registry in Atlas service. The gateway analyze handler (API gateway) is a thin orchestrator: it gathers sources (the pasted content plus every fetched side-probe body), runs every registered detector over every source, picks one winner, and assembles the unchanged response contract. Detection logic lives only in the package; adding or sharpening a protocol never edits the handler.

Component Responsibility

Detector

One self-contained module per protocol/format. It owns its content markers, confidence weight, and side-probe well-known paths (Name, WellKnownPaths, Classify). Returning no candidates means "not my protocol."

Registry

Runs every detector over every source and collects candidates, each stamped with its source URL and raw content so the winner can drive metadata import downstream. ProbePaths() returns the deduped union of every detector’s well-known paths.

PathDeriver

Optional detector capability: derive extra probe paths from the input URL’s structure (a realm path segment, a cloud-authority tenant segment) that fixed host-relative paths cannot express. Registry.DerivedProbePaths(inputURL) unions them.

Pick

Winner precedence, extracted and unit-tested: highest confidence wins; on a tie the candidate found at the exact pasted URL beats one found at a side-probed endpoint (a host serving both SAML metadata and an OIDC discovery document classifies by what the operator pasted); remaining ties resolve by registration order.

Verdict

Maps confidence to the frontend verdict label: >= 90 confident, >= 70 likely, >= 50 uncertain, else inconclusive.

Detector Inventory

Detection outcomes are either importing (the winner carries an import kind that feeds buildApplicationMetadataImportSuggestions) or recognition-only (protocol other, no import kind — the evidence explains what the content is and how to onboard instead, rather than a dead-end "no markers found").

Detector Fires on Result

oidc

JSON with issuer + authorization_endpoint (full OIDC discovery); or issuer + token_endpoint/jwks_uri without authorization_endpoint (RFC 8414 OAuth authorization-server metadata — client-credentials/machine OAuth, in-cluster Kubernetes service-account issuers)

oidc / oidc-discovery at 95; RFC 8414 branch at 80 so a full discovery document always outranks it

saml

XML containing EntityDescriptor; sharper when SPSSODescriptor/IDPSSODescriptor is present

saml / saml-metadata at 95 (SP or IdP) or 80 (bare)

ws-fed

XML with a WS-Federation namespace or FederationMetadata marker

ws-fed / wsfed-metadata at 90

ldap

Content that is an ldap:// / ldaps:// URL

ldaps / ldaps-manifest at 90

scim

A ServiceProviderConfig with real capability blocks (patch/bulk/filter/authenticationSchemes), or a ResourceTypes/Schemas discovery listing whose own top-level schemas array names a SCIM URN. Bails when an openapi/swagger/paths key is present (a spec that merely documents a SCIM API stays a workload manifest)

api-service / scim-discovery at 88

api-service

JSON with an openapi/swagger/paths key or SCIM schema URNs (generic resources)

api-service / api-workload-manifest at 85

swa

HTML login form with a password input

swa (no import) at 70

oauth-protected-resource

RFC 9728 protected-resource metadata (non-empty resource + authorization_servers)

recognition-only at 60 — guides to the authorization server’s discovery document

oauth-dcr

RFC 7591/7592 Dynamic Client Registration response (client_id + a registration marker, issuer absent — provably disjoint from oidc)

recognition-only at 60 — guides to the provider’s discovery document

ws-trust

A WS-Trust STS envelope (RST/RSTR or ws-trust namespace) carrying none of the SAML/WS-Fed markers

recognition-only at 60 — guides to the STS’s WS-Fed metadata endpoint

cas

Apereo CAS validation XML (cas:serviceResponse, Yale namespace) or an HTML-ish /cas/login page

recognition-only at 60 — guides to a CAS-fronted OIDC/SAML endpoint or a header/proxy connector

xacml

An OASIS XACML policy (namespace, or <Policy> with a Permit/Deny rule effect), SAML/WS-Fed negative-guarded

recognition-only at 60 — authorization policy belongs to the Atlas policy/PDP editors, not app onboarding

spiffe

A SPIFFE trust bundle (spiffe_sequence/spiffe_refresh_hint) or content that is a bare spiffe:// ID; never a document that merely embeds one

recognition-only at 60 — onboard as a non-person entity / federated trust domain

gnap

A GNAP (RFC 9635) message: access_token as an object carrying access (OAuth’s is a string), or a continue object with access_token + uri

recognition-only at 60 — GNAP onboarding is manual

oscal

OSCAL compliance content

recognition-only at 30 — advisory redirect to mission/RMF evidence import

Confidence values are named package constants (confidenceConfident 95 down to confidenceAdvisory 30), each pinned by a unit test, so the tier scale is documented in one place and cannot drift silently.

Side-Probes And Derived Probes

When the operator pastes a URL, the analyzer side-probes the deduped union of every detector’s well-known paths — OIDC/OAuth discovery (/.well-known/openid-configuration, /.well-known/oauth-authorization-server, /.well-known/uma2-configuration, /.well-known/oauth-protected-resource), SAML metadata mounts (generic, SimpleSAMLphp, Shibboleth), WS-Fed FederationMetadata, SCIM discovery (/scim/v2/ServiceProviderConfig, /scim/v2/ResourceTypes, /scim/v2/Schemas), and CAS endpoints. A new detector’s paths join the fan-out automatically.

Two path-derivers add realm/tenant-aware coverage that host-root probes cannot reach:

  • Realm-scoped identity providers — an input URL with /realms/{realm}/ (or the legacy /auth/realms/{realm}/ prefix) at the path root derives that realm’s SAML descriptor, OIDC discovery, and UMA discovery probes for both prefixes. The match is positional (deeper /realms/ segments used by other IdP products are ignored) and the realm charset is validated, blocking path traversal and host smuggling.

  • Tenant-scoped cloud authorities — an input URL on an exact-match allowlisted cloud sign-in host with a /{tenant} segment (a GUID, a reserved authority segment, or a dotted tenant domain) derives the tenant-relative v1/v2 discovery paths. The exact-host allowlist means lookalike hosts and host@evil userinfo tricks derive nothing.

Derived probes are same-host by construction: probe URLs are rebuilt from the input URL’s own scheme and host, so a deriver can never redirect probing to another origin. Vendor-named collection and mapping procedures for these platforms live in the identity platform compatibility pages.

Evidence Enrichment

The OIDC detector appends identity/capability notes to its evidence only when an exact marker is present; with no marker the evidence is byte-identical to the base string:

  • issuer host on the tenant-authority allowlist — the cloud identity platform is named, with its workload-identity-federation support

  • issuer host kubernetes.default.svc / *.svc / *.svc.cluster.local — in-cluster Kubernetes service-account issuer (deliberately host-scoped: hosted CI workload issuers do not match)

  • issuer path exactly /realms/{realm} — the realm-scoped IdP realm is named in the evidence

  • permission_endpoint (strict string) — UMA 2.0 authorization server

  • registration_endpoint — supports OAuth 2.0 Dynamic Client Registration

Fetch And SSRF Posture

Both fetch paths (the page probe and metadata import) derive their private-endpoint decision from one shared predicate, applicationProbePrivateIP, so the two guards cannot drift: loopback, RFC 1918 private, link-local, unspecified, and multicast ranges are refused by default, alongside localhost/.local/.internal name blocks, HTTPS-only unless lab endpoints are explicitly allowed, and re-checks on redirect. A dedicated test asserts every private range is blocked and that all guard surfaces agree.

Compatibility And Testing Contract

The analyze response (atlas.application-onboarding.analyze-target.v1) is a frozen contract: a golden characterization table in the gateway tests pins the full JSON — protocol, confidence, verdict, import plan, evidence, warnings, blockers, dictionary match, and evidence hash — for every protocol, and every detector change must keep it green. The package tests additionally pin each detector’s exact confidence and carry must-not-fire negative vectors from adversarial review (an OpenAPI spec that documents a SCIM API, a plain JWKS versus a SPIFFE bundle, an OAuth token response versus a GNAP message, a hosted-CI workload issuer versus in-cluster Kubernetes, cloud-authority lookalike hosts).

To add a protocol: add one detector file in Atlas service (markers, a named confidence tier, WellKnownPaths, optionally DerivePaths), register it in NewDefaultRegistry, and add must-fire plus must-not-fire package tests. Its side-probes join the analyze fan-out automatically; no gateway edit is needed unless the detector introduces a new import kind, in which case follow the readiness-matrix rule above.

Express Wizard Architecture And SAML IdP Endpoints

The default and only operator flow at /applications/onboarding is the Express wizard (Atlas interface): a four-phase shell (Connect, Exchange, Access, Prove & Publish) over the same draft, metadata-import, readiness, and completion endpoints. The former comprehensive wizard and legacy editor are removed; their old URLs now render the same Express shell and never bypass its readiness, AAL, assignment, evidence, or external-boundary gates. The Connect phase classifies imported field suggestions into one-click-safe additive facts and review-gated posture changes.

The Connect phase drives an intelligent target probe:

POST /api/v1/applications/onboarding/analyze-target

The request carries a target url (or targetUrl) or pasted content, plus testConnection and allowPrivateEndpoints. The endpoint performs content-based protocol detection through the modular detector registry described in Target Detection Architecture — it classifies pasted or fetched metadata/HTML directly, side-probes every registered detector’s well-known and realm/tenant-derived paths, and only falls back to a low-confidence URL-substring hint, never the old fixed default protocol. It consults the declarative connector dictionary (Atlas service) to turn a bare hostname into a vendor-aware verdict. The response (schemaVersion atlas.application-onboarding.analyze-target.v1) returns the detected protocol and import kind, confidence, security signals, blockers, warnings, and safe field suggestions before a draft exists. Fetches reuse the SSRF probe boundary: private endpoints are blocked unless the draft explicitly allows lab endpoints.

Atlas is a standards SAML 2.0 identity provider for onboarded applications. Assertions are XML-DSig signed (RSA-SHA256; SHA-1 is rejected at issuer construction) with per-application X.509 keys resolved vault-first (vault://atlas/apps/{appId}/saml/signing) with encrypted offline-cache, file, and ephemeral fallbacks for DDIL. The gateway serves:

  • GET /api/v1/sso/saml/{appId}/metadata — unauthenticated standards IdP metadata (entity ID, signing certificates including rotation pairs, SSO endpoints). Works for drafts and published applications.

  • GET|POST /api/v1/sso/saml/{appId}/sso — SP-initiated single sign-on. Unauthenticated browsers redirect to login and resume; authenticated requests pass the same assignment/AAL/freshness launch gate as /me/apps/{id}/launch, then the AuthnRequest is parsed (Redirect and POST bindings, optional signature verification) and a signed response is auto-posted to a registered ACS.

  • GET/POST/PUT/DELETE /api/v1/applications/{id}/assignment-rules (+ /preview, /commit, /disable) — universal-directory assignment rules (everyone or group scope) compiled into source-tagged bulk assignments; previews surface evidence-policy blocks before commit.

  • GET /api/v1/applications/{id}/assignment-explain?userId= — why a subject does or does not hold the application.

  • GET /api/v1/applications/{id}/provisioning-status — provisioning driver, connection, and outbox counts (pending, completed, retry, dead-letter) with recent events.

Draft /test and /complete runs include a live SAML sign-on readiness source (saml-live-sign-on) when the protocol is SAML and the suite is required: Atlas mints a signed assertion for a test subject and performs a real ACS round trip (a conforming SP must accept the signed assertion and reject an expired one). The ACS is reached through the SSRF probe boundary; private endpoints require the local-live binding path or ATLAS_SAML_LIVE_TEST_ALLOW_PRIVATE=true (demo/lab). The express wizard requests this suite for every SAML draft so its "Run live test" action performs the real round trip rather than only the static connector checks.

Browser-driven single sign-on completes through session cookies, matching commercial IdP behaviour:

  • On successful authentication the gateway sets a path-scoped access_token session cookie confined to /api/v1/sso/saml/ (HttpOnly, Secure, SameSite=Lax). It lets a browser’s top-level AuthnRequest redirect from a service provider complete SP-initiated sign-on, and flows to no other API path. It is cleared on logout.

  • An unauthenticated SP-initiated request is redirected to /login?redirect=<sso-url>. After login the SPA performs a full-page navigation back to server-rendered /api/ targets so the path-scoped cookie reaches the gateway and the pending AuthnRequest resumes.

Third-party SAML interoperability harness

The demo stack includes saml-interop-sp, a service provider built on python3-saml (the OneLogin SAML toolkit) — a real, production SAML library independent of any Atlas code, performing full standards validation (XML-DSig via xmlsec1, Conditions, AudienceRestriction, SubjectConfirmation Recipient, Destination, and InResponseTo). It proves Atlas is a standards-conformant identity provider for both SAML and IdP behaviour:

  • Live sign-on test — the express wizard onboards the interop SP and its saml-live-sign-on source posts an Atlas-signed assertion to the OneLogin ACS, which must accept the signed one and reject an expired one.

  • IdP-initiated SSO — launching the interop application from the user apps portal auto-posts a signed assertion the OneLogin SP validates.

  • SP-initiated SSO — the SP builds an AuthnRequest to the Atlas per-app SSO endpoint; the browser completes it and the SP validates the returned assertion.

The end-to-end coverage lives in frontend/e2e/saml-idp-interop-live.spec.ts.

OIDC And SAML Completion Contract

OIDC and SAML are the reference integrations for the onboarding completion bar. Their connector cases must stay aligned with the readiness matrix:

  • OIDC emits redirect-uri-present, redirect-uris-exact-safe, private-client-auth-or-pkce, claims-minimized, scopes-minimized, logout/revocation posture, DPoP or bound-token review, refresh rotation, positive replay, and negative replay cases.

  • SAML emits acs-present, audience-present, assertion-signed, saml-recipient-destination-bounded, saml-crypto-strong, attributes-minimized, saml-certificate-references, saml-session-lifetime-bounded, SLO/revocation posture, positive replay, and negative replay cases.

  • Commercial IAM and metadata imports stage these fields as deltas. They must not directly mutate active draft fields.

  • Service-executed transaction tests may use lab HTTP endpoints only when the draft explicitly allows private lab endpoints.

SWA, WS-Fed, And Legacy Completion Contract

Sprint-3 integrations use the same runner and readiness-runway contract as OIDC and SAML.

  • SWA emits swa-login-url-present, swa-form-selectors-present, swa-credential-reference-only, swa-password-reveal-disabled, swa-isolated-replay, swa-exception-approved, swa-exception-not-expired, swa-migration-plan-present, session-accounting, positive delegated replay, and negative replay/posture cases.

  • WS-Fed emits wsfed-realm-present, wsfed-reply-url-present, wsfed-audience-present, wsfed-signed-token, wsfed-crypto-strong, wsfed-certificate-references, wsfed-tls-endpoints, wsfed-attributes-minimized, wsfed-session-lifetime-bounded, wsfed-logout-or-revocation-documented, positive signed IdP-browser-flow evidence, and negative token/access cases.

  • Legacy exception emits exception-approved, legacy-owner-present, legacy-approval-evidence-present, legacy-expiration-active, legacy-compensating-controls-present, legacy-migration-target-present, legacy-revalidation-cadence-present, session-accounting, migration-review, and negative-access cases.

  • SWA manifests stage both protocol fields and the canonical legacy exception review fields. Legacy exception artifacts stage canonical legacy fields and preserve a compatibility SWA migration-plan suggestion when present.

  • WS-Fed metadata imports create reference-only certificate placeholders. Operators replace placeholders with approved certificate-store or Vault references before activation.

  • The production runtime publishes per-application metadata and supports IdP-initiated and exact-realm/exact-reply SP-initiated passive browser SSO with an XML-DSig-signed SAML 2.0 assertion in a WS-Trust response. It does not consume inbound WS-Fed responses or encrypt WS-Fed assertions. An upstream OIDC or SAML session can reach the WS-Fed target only through an explicit active restriction-only federation-hub route to that exact application.

  • Generated packages include swa-credential-replay.json, ws-fed-relying-party.json, or legacy-exception.json with only non-secret configuration and evidence references.

Validation

Use the app onboarding demo and validators, plus the artifact-import package and gateway tests:

Internal implementation checks are omitted from this public guide.

Evidence Rule

Connector and transaction-test evidence must be hash-backed, redacted for secrets, and explicit about whether it is local-live or external evidence.