Engineering guide · ICAM
Identity Claim Sourcing And Federated Reauthentication
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:
-
NONEselects proven local reauthentication. -
FIXEDselects 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 |
|---|---|---|---|
|
GET |
|
The one-element singleton collection. |
|
GET |
|
The immutable policy envelope and aggregate version. |
|
GET |
|
The one-element default-rule collection. |
|
PUT |
|
Stages the exact replacement actions and returns |
|
POST |
|
A different actor independently commits the staged rule. |
|
GET |
|
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:
-
loads the encrypted server-side Atlas session and verifies the tenant and subject;
-
loads the encrypted provider-session record, when present;
-
resolves the exact active managed-provider generation;
-
mints random authorization
stateandnoncevalues and records only a domain-separated request digest in the durable decision; -
uses those exact values in the OIDC StateStore, or uses the exact
stateas SAML RelayState; -
atomically consumes OIDC state before token exchange;
-
establishes a new session through the normal OIDC, SAML, password, CAC/PIV, or WebAuthn authentication authority;
-
verifies subject, original session lineage, provider lineage, provider generation, callback, state, nonce, tenant, rule version, and freshness; and
-
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.