Protocol and deployment notes · Deployment

Atlas Platform SSO server authority

On this pageImplemented boundaryOAuth client contractProcessor lifecycleRegistration and attestation boundaryNonce and login assertionAvailability and retry semanticsHardware acceptance boundaryVerification

Atlas implements the server-side Apple Platform SSO JWT-bearer boundary through the ordinary Atlas gateway, OIDC authorization server, and PostgreSQL state authority. The implementation is deliberately separate from Atlas ID-JAG processing even though both arrive at the OAuth JWT-bearer grant.

This is a production-oriented server contract, not a claim that Atlas ships a signed macOS SSO extension. Docker validates the server and token path; only a real Apple Silicon acceptance lab can validate the extension, MDM delivery, Apple Enterprise Attestation, Secure Enclave custody, Login Window, FileVault, Touch ID, password synchronization, or disconnected macOS behavior.

Implemented boundary

The current authority provides:

  • a tenant-scoped processor lifecycle under /api/v1/security/platform-sso;
  • separate maker/checker activation by a fresh phishing-resistant AAL3 operator;
  • exactly one active processor for a tenant and OAuth client;
  • public-client-only JWT-bearer processing;
  • exact Apple platformsso-login-assertion+jwt dispatch;
  • exact ES256, audience, issuer, subject, scope, assertion-lifetime, registered key, key-derived kid, server nonce, and client nonce verification;
  • a short-lived external attestation-verdict JWT that binds the tenant client, device, user, registration, key ID, hardware-backed result, and source evidence digest;
  • atomic PostgreSQL consumption of the one-time server nonce and unique client nonce before token issuance;
  • normal Atlas access-token, ID-token, and rotating refresh-token issuance;
  • immediate registration revocation, integrity verification, restart reconstruction, public API redaction, and fail-closed corrupt-state handling.

The authorization returned to the OIDC server is bounded to AAL2. A signed hardware-backed verdict and an ES256 assertion demonstrate a phishing-resistant hardware-bound factor, but do not by themselves prove an AAL3 ceremony or a specific Apple platform execution. Atlas therefore never inflates this flow to AAL3.

OAuth client contract

Create the macOS Platform SSO client through the governed Atlas authorization- server API as a public client:

  • token endpoint authentication method: none;
  • grant types: urn:ietf:params:oauth:grant-type:jwt-bearer and refresh_token;
  • required scopes: openid, offline_access, and urn:apple:platformsso;
  • exact token endpoint audience, for example https://atlas.example.gov/oauth2/mission/v1/token;
  • no client secret and no confidential-client authentication fallback.

Atlas routes an assertion to this authority only when its unverified JOSE header has the exact Apple type. All other JWT-bearer assertions remain on the separate ID-JAG processor path. The selected processor then performs the full cryptographic verification.

Processor lifecycle

Administrators use the standard Atlas security API:

Operation Route Required authority
List/create processors GET/POST /api/v1/security/platform-sso/processors read AAL1 / manage AAL2
Get/replace processor GET/PUT /api/v1/security/platform-sso/processors/{id} read AAL1 / manage AAL2 plus If-Match
Activate/deactivate POST /api/v1/security/platform-sso/processors/{id}/lifecycle/{action} fresh phishing-resistant AAL3, activation capability, different activator for activation
List/register keys GET/POST /api/v1/security/platform-sso/registrations read AAL1 / manage AAL2
Revoke registration POST /api/v1/security/platform-sso/registrations/{id}/lifecycle/revoke manage AAL2 plus If-Match

Create and replacement operations require Idempotency-Key. Lifecycle operations require the exact quoted ETag, an idempotency key, and can retain an administrative reason. Replacement always returns the processor to PENDING_ACTIVATION.

An illustrative processor draft is:

{
  "id": "macos-workforce",
  "name": "Managed macOS workforce",
  "clientId": "atlas-macos-platform-sso",
  "audience": "https://atlas.example.gov/oauth2/mission/v1/token",
  "requiredScopes": [
    "openid",
    "offline_access",
    "urn:apple:platformsso"
  ],
  "maximumAssertionSeconds": 300,
  "nonceLifetimeSeconds": 120,
  "attestationIssuer": "https://attestation.example.gov",
  "attestationAudience": "atlas-platform-sso-registration",
  "attestationAuthorityJwk": {
    "kty": "EC",
    "crv": "P-256",
    "alg": "ES256",
    "use": "sig",
    "kid": "attestation-verdict-2026-01",
    "x": "REPLACE_WITH_PUBLIC_COORDINATE",
    "y": "REPLACE_WITH_PUBLIC_COORDINATE"
  },
  "requireHardwareBackedKey": true
}

Private keys never enter this API. The attestation authority JWK is public verification material.

Registration and attestation boundary

Atlas does not accept hardwareBacked: true from an administrator or device. Registration requires an independently signed ES256 JWT with type atlas-platform-sso-attestation-verdict+jwt. The verifier key, issuer, and audience are fixed by the independently activated processor.

The verdict must be short-lived and bind:

  • sub to the device identifier;
  • user_id, client_id, registration_id, and key_id to the proposed registration;
  • attestation_evidence_sha256 to the externally retained Apple attestation evidence;
  • hardware_backed to the external verifier's result;
  • iat, nbf, exp, and a unique jti.

The raw verdict is write-only and is never stored or returned. Atlas stores only its SHA-256 digest, the attestation evidence digest, the public key, and the governed registration metadata. The verdict JTI is single-use.

The external adapter remains responsible for validating the raw Apple Enterprise Attestation chain, Apple root, challenge, device, user, key, and freshness on real hardware. Until FED-ACC-032 and FED-ACC-033 pass, Atlas must not describe hardwareBacked as independently proven by this deployment.

Nonce and login assertion

An already registered extension requests a one-time nonce at:

POST /oauth2/{tenantId}/v1/platform-sso/nonce

The endpoint accepts one strict JSON object:

{
  "client_id": "atlas-macos-platform-sso",
  "registration_id": "macbook-user-01"
}

OAuth-style application/x-www-form-urlencoded with the same two fields is also supported. Unknown, duplicate, repeated, trailing, query/body-ambiguous, oversized, and unsupported media types are rejected. Responses carry Cache-Control: no-store and Pragma: no-cache.

The extension then posts to the ordinary token endpoint with:

grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
assertion=<signed embedded assertion>
scope=openid offline_access urn:apple:platformsso

For the Secure Enclave profile, Atlas requires:

  • JOSE typ=platformsso-login-assertion+jwt;
  • JOSE alg=ES256;
  • kid equal to base64 SHA-256 of the ANSI X9.63 uncompressed public key;
  • exact registered iss and sub;
  • exact processor audience;
  • bounded iat and exp;
  • required scopes;
  • the one-time server request_nonce;
  • a unique client nonce.

The server nonce is stored only as a digest. Server-nonce consumption and client-nonce replay reservation share one PostgreSQL commit.

Availability and retry semantics

Security state is consumed before delivery:

  • an accepted attestation verdict JTI is reserved before the registration record is created; if the registration commit fails, the adapter must obtain a newly signed verdict rather than replaying the old one;
  • a valid login assertion consumes its server nonce before the OIDC server signs and returns tokens; if downstream issuance fails, the extension must request a new nonce and create a new assertion;
  • malformed or integrity-invalid stored processor or registration state causes the relevant authority scan to fail unavailable rather than omitting the record;
  • registration revocation is checked before every nonce and assertion use.

These choices can cause a safe retry after an infrastructure failure; they do not permit a second authentication effect.

Hardware acceptance boundary

The capability remains partial until all five real-macOS contracts close:

  • FED-ACC-032: signed/notarized extension, supported grant types, exact MDM payload, device/user registration, and deployment lifecycle;
  • FED-ACC-033: raw Apple Enterprise Attestation and Secure Enclave key registration with wrong-root, mismatch, replay, and software-key denials;
  • FED-ACC-034: exact embedded assertion, key-derived kid, nonce, access/ID/ refresh tokens, restart, replay, wrong-key, and revocation on Apple Silicon;
  • FED-ACC-035: Login Window, lock/unlock, browser/native SSO, Touch ID, FileVault, network loss, offline grace, expiry, recovery, and reconnect;
  • FED-ACC-036: password-sync mode, Setup Assistant/ADE registration, JIT local-account creation, password change/recovery, collision, and profile removal behavior.

The contracts and evidence kit generator are in planning/federation-vendor-parity/. A Docker receipt cannot close any of these gates.

Verification

Run focused source tests and the retained PostgreSQL Docker proof:

Internal implementation checks are omitted from this public guide.

The current source-bound receipt is:

artifacts/platform-sso-docker-validation/20260817T030532Z/summary.json

It proves the PostgreSQL server authority, not the five hardware acceptance contracts above.