Engineering guide · ICAM

Identity Claim Sourcing And Federated Reauthentication

Status: implemented and unit-tested; PostgreSQL Docker validation pendingReviewed: 2026-07-26Audience: application developers, federation engineers, identity architects, security reviewers
On this pageSingleton ContractAPIRuntime BindingCurrent Tenant BoundaryVerification

Atlas implements the Okta-compatible IDENTITY_CLAIM_SOURCING policy used to select the reauthentication authority after an application or account policy has already required fresh authentication. The benchmark shape is described in the Okta identity claims sourcing guide.

Claim sourcing does not create an independent session-age policy. It is evaluated only after the application launch policy has concluded that reauthentication is required. It therefore cannot turn an application decision into REUSE_SESSION.

Singleton Contract

Each tenant has exactly one deterministic policy and exactly one deterministic default system rule:

{
  "type": "IDENTITY_CLAIM_SOURCING",
  "name": "Catch-all rule",
  "status": "ACTIVE",
  "priority": 99,
  "conditions": null,
  "actions": {
    "claimSourcing": {
      "redirectType": "IDP_DISCOVERY",
      "refresh": {
        "redirectType": "FIXED",
        "filter": {
          "include": [
            {"id": "mission-partner", "name": "Mission Partner"}
          ]
        }
      }
    }
  }
}

The policy is named Default Policy, active, priority 1, system-owned, and also has conditions: null. Policy or rule creation, deletion, cloning, reprioritization, renaming, and non-null conditions are rejected. Provider display names are derived from the managed provider authority rather than trusted from the request.

refresh.redirectType has two meanings:

  • NONE selects proven local reauthentication.

  • FIXED selects the IdP that established the current session, provided the exact active provider generation still matches and the optional include filter permits it.

A filter miss, disabled provider, or generation change can fall back only when Atlas proves that an active local password, currently valid CAC/PIV certificate, or active WebAuthn credential exists for the subject. An unavailable authority fails closed.

API

Route Method Capability Result

/api/v1/policies?type=IDENTITY_CLAIM_SOURCING

GET

claims-sourcing.read

The one-element singleton collection.

/api/v1/policies/{policyId}

GET

claims-sourcing.read

The immutable policy envelope and aggregate version.

/api/v1/policies/{policyId}/rules

GET

claims-sourcing.read

The one-element default-rule collection.

/api/v1/policies/{policyId}/rules/{ruleId}

PUT

claims-sourcing.manage

Stages the exact replacement actions and returns 202 Accepted.

/api/v1/policies/{policyId}/rules/{ruleId}/_atlas/transitions/{transitionId}/approve

POST

claims-sourcing.approve

A different actor independently commits the staged rule.

/api/v1/policies/{policyId}/_atlas/events

GET

claims-sourcing.read

The verified append-only evidence chain.

Reads require fresh AAL2. Stage and approval require fresh phishing-resistant AAL3. Mutations require If-Match, Idempotency-Key, and X-Atlas-Reason. The raw idempotency key, reason, session identifier, subject identifier, provider identifier, authorization state, nonce, and callback binding do not enter durable policy or decision rows.

Runtime Binding

The launch policy produces the reauthentication requirement first. Atlas then:

  1. loads the encrypted server-side Atlas session and verifies the tenant and subject;

  2. loads the encrypted provider-session record, when present;

  3. resolves the exact active managed-provider generation;

  4. mints random authorization state and nonce values and records only a domain-separated request digest in the durable decision;

  5. uses those exact values in the OIDC StateStore, or uses the exact state as SAML RelayState;

  6. atomically consumes OIDC state before token exchange;

  7. establishes a new session through the normal OIDC, SAML, password, CAC/PIV, or WebAuthn authentication authority;

  8. verifies subject, original session lineage, provider lineage, provider generation, callback, state, nonce, tenant, rule version, and freshness; and

  9. atomically appends a separate one-time consumption receipt.

Concurrent callback attempts cannot both succeed. OIDC state uses collision-safe issue and atomic consume. Expired state and state timestamped beyond the bounded clock skew are rejected before an authorization code is exchanged. The newly issued session is invalidated if completion fails.

Durable decision rows contain HMAC-blinded session, subject, and provider references. Timestamps used in MAC inputs are truncated to PostgreSQL microsecond precision. Decision rows and consumption receipts are append-only, independently MACed, and constrained by the database.

Current Tenant Boundary

The managed federation registry that supplies active provider generations is currently the default Atlas tenant registry. Claim-sourcing provider resolution therefore fails closed for every non-default tenant. This is an explicit isolation boundary, not a claim of universal multi-tenant federation support. The restriction can be removed only after the provider registry itself is tenant-keyed and its migration, lookup, callback, and negative-isolation tests are complete.

Verification

Internal implementation checks are omitted from this public guide.

The Docker migration, restart, tamper, callback replay, and concurrent consumption suite remains required before the page status can be changed to Docker validated.