Protocol and deployment notes · Deployment

Governed OAuth authorization details

On this pageProduction behaviorIntentional first-profile limits

Atlas implements a bounded OAuth Rich Authorization Requests (RAR) runtime profile for authorization-code clients. The implementation follows RFC 9396 and exposes the authenticated user and authentication context to reviewed, deterministic processors. It is not inferred from application metadata and it does not treat a client-provided JSON object as authorization.

References:

Production behavior

The stock gateway registers the mission_context processor and publishes it through authorization_details_types_supported. A client must separately be created with authorizationDetailsTypes: ["mission_context"] through the standard /api/v1/oauth2/clients API. Enabling a type makes the client require independent approval.

Authorization details are accepted only through PAR or an RFC 9101 signed request object. Atlas rejects unknown types, duplicate JSON member names, unknown fields, incorrect field types, unsafe locations, oversized values, and unmet subject context with invalid_authorization_details.

The built-in type has this request shape:

[
  {
    "type": "mission_context",
    "mission": "blue-force",
    "actions": ["read.telemetry", "acknowledge.alert"],
    "locations": ["https://api.example.mil/telemetry"],
    "minimum_aal": 3,
    "minimum_ial": 2,
    "phishing_resistant": true,
    "required_groups": ["blue-team"]
  }
]

The processor evaluates the current subject, Universal Directory group set, AAL, IAL, authentication time, phishing-resistant status, and session context. Group and session identifiers are available to the processor but are not automatically disclosed in the access token. The approved object is enriched with the assurance that was actually validated.

Atlas processes the request during authorization and repeats processing during the authorization-code exchange using the current group authority. The canonical processor output is carried only in the encrypted authorization-code envelope, signed into the access token, and returned in the token response. Its SHA-256 digest is retained in the durable API-access grant. Access-token verification fails if that grant is revoked, expires, or no longer contains the exact digest.

Intentional first-profile limits

  • Only authorization-code issuance is enabled. RAR plus offline_access is rejected until refresh-token families retain and re-evaluate the exact authorization details.
  • Token exchange, device authorization, and CIBA do not yet accept authorization_details.
  • Token-request downscoping is not yet implemented. A token request may omit the parameter or repeat a request that produces the exact approved result; it cannot broaden or alter the authorization.
  • The stock image contains one reviewed processor. Additional processors use the AuthorizationDetailsProcessor interface and must be compiled, tested, and registered deliberately; Atlas does not load ambient executable plugins from an upload or metadata document.

These limits keep the production claim precise: Atlas now provides a live, user-aware processor boundary and evidence-bound authorization-code flow, but does not claim every RFC 9396 transport or grant type.