Protocol and deployment notes · Deployment
OIDC CIBA deployment profile
On this page
Operator modelPoll clientPing clientProtocol useSigned request and identity-hint profilesAssurance and custody boundariesValidation and standardsAtlas implements a bounded OpenID Connect Client-Initiated Backchannel Authentication (CIBA) profile for confidential clients. The AIO gateway can run it without a separate CIBA container: when the OIDC authorization server, Universal Directory, Atlas Authenticator push authority, PostgreSQL, and Vault are ready, the backchannel endpoint and the ping-delivery worker start with the standard gateway runtime.
This is a production profile, not a certification claim. Atlas advertises and
accepts poll and ping; it does not advertise CIBA push delivery.
Operator model
- Register a governed OAuth client through
POST /api/v1/oauth2/clients. - Put the confidential client secret behind the registered
vault://reference using the deployment's normal secret-custody workflow. Never send that secret in the client-registration JSON. - For signed request objects or
login_hint_token, register an AI workload principal for the sameclientId, add an ES384 or RS256 public JWK, and independently activate the key through the/workload-principals/api/v1/ai-agentsAPIs. - If the client is staged for approval, a different authorized operator
enables it with
POST /api/v1/oauth2/clients/{clientId}/approve. - Read discovery at
/oauth2/{tenantId}/.well-known/openid-configuration. Treat the advertised CIBA endpoint, modes, and algorithms as authoritative for that runtime.
The standard Atlas authorization-server issuer remains
https://<atlas-host>/oauth2/{tenantId} unless a governed custom server is
selected.
Poll client
{
"id": "mission-ciba-poll",
"name": "Mission console CIBA poll",
"type": "service",
"ownerUserId": "<owner-subject-id>",
"grantTypes": ["urn:openid:params:grant-type:ciba"],
"scopes": ["openid", "profile"],
"secretRef": "vault://oauth2/clients/mission-ciba-poll",
"backchannelTokenDeliveryMode": "poll",
"backchannelPollingIntervalSeconds": 5,
"backchannelUserCodeParameter": true,
"requireCibaSignedRequests": true,
"cibaRequestObjectSigningAlgorithm": "ES384"
}
Ping client
{
"id": "mission-ciba-ping",
"name": "Mission console CIBA ping",
"type": "service",
"ownerUserId": "<owner-subject-id>",
"grantTypes": ["urn:openid:params:grant-type:ciba"],
"scopes": ["openid", "profile"],
"secretRef": "vault://oauth2/clients/mission-ciba-ping",
"backchannelTokenDeliveryMode": "ping",
"backchannelNotificationEndpoint": "https://client.example.mil/ciba/callback",
"backchannelPollingIntervalSeconds": 5,
"backchannelUserCodeParameter": true,
"requireCibaSignedRequests": true,
"cibaRequestObjectSigningAlgorithm": "ES384"
}
Ping registration accepts one exact HTTPS callback without user information,
query parameters, or a fragment. The production sender requires TLS 1.2 or
newer, refuses redirects, bounds response reads, and treats only a 2xx
response as delivered.
An explicitly allowlisted Client ID Metadata Document can also supply a
confidential private_key_jwt poll or ping client without creating an
administrative client. The discovered ping profile is deliberately stricter:
the callback must use the exact Client Identifier host, default HTTPS port,
and a non-root path. Atlas re-resolves the current document and managed policy
immediately before every delivery, then uses a proxy-free, redirect-free,
DNS-pinned transport that rejects every IANA RFC 6890 special-use result. A
withdrawn grant, changed mode, or changed endpoint suppresses the callback.
See OIDC Client ID Metadata Documents for the deployment and
current live-evidence boundary.
Protocol use
Authenticate the client with HTTP Basic or its governed
private_key_jwt. client_secret_post is rejected. A direct request contains
exactly one identity hint:
POST /oauth2/{tenantId}/v1/backchannel-authentication
Content-Type: application/x-www-form-urlencoded
Authorization: Basic <client-credentials>
scope=openid%20profile&login_hint=alex%40example.mil&binding_message=Approve%20mission%20console%20access&user_code=123456&requested_expiry=120
For ping, the request must also provide a high-entropy
client_notification_token of 32–1024 characters. Atlas posts only this body
to the registered callback:
{"auth_req_id":"<opaque-request-id>"}
The callback uses Authorization: Bearer <client_notification_token>. Delivery
is at least once: if the client receives a callback but Atlas loses the 2xx
response, the same auth_req_id can be delivered again. The client must
deduplicate on that identifier. Atlas uses a durable PostgreSQL lease so active
gateway replicas do not concurrently deliver the same attempt.
Poll and ping clients retrieve the result through the same token grant:
POST /oauth2/{tenantId}/v1/token
Content-Type: application/x-www-form-urlencoded
Authorization: Basic <client-credentials>
grant_type=urn%3Aopenid%3Aparams%3Agrant-type%3Aciba&auth_req_id=<opaque-request-id>
Poll clients respect the returned interval. Ping clients wait for the
callback before polling; Atlas will not issue their token until the callback
has completed. The transaction and its Atlas Authenticator approval are each
consumed once.
Expected non-success protocol errors are authorization_pending, slow_down,
expired_token, and access_denied. Invalid request objects return
invalid_request_object; client authentication failures return
invalid_client.
Signed request and identity-hint profiles
When requireCibaSignedRequests is true, send only the authentication
parameters in request=<compact-JWS>; mixing direct CIBA parameters with the
request object fails closed. The registered client-authentication parameters
remain outside the object.
The request object must:
- use
typ=oauth-authz-req+jwtand the registeredES384orRS256key; - bind
isstoclient_idandaudto the exact Atlas issuer; - contain bounded
iat,nbf,exp, and a one-timejti; - contain exactly one of
login_hint,login_hint_token, orid_token_hint; - keep
scope,binding_message, notification token, user code, requested expiry, and other CIBA parameters inside the signed object.
Atlas supports these hint forms:
login_hint: resolved against the current active Universal Directory subject without disclosing whether a failed value exists.login_hint_token: an Atlas-bounded client-signed token withtyp=atlas-ciba-login-hint+jwt, the same registered algorithm and issuer / audience / lifetime / one-time-JTI controls, and onelogin_hintclaim.id_token_hint: an unexpired signed ID token issued by the exact Atlas issuer to the exact client. A client using recipient-encrypted ID tokens must decrypt the JWE and submit the inner signed token.
user_code is optional only for clients that enable it. The gateway validates
it as a one-time TOTP against the resolved subject's current verified TOTP
devices; it is not retained in a clear SQL column.
Assurance and custody boundaries
The current CIBA approval authority does not return a signed achieved-assurance
statement. Atlas therefore accepts only acr_values=urn:atlas:aal:1 and issues
CIBA tokens with aal=1; requesting AAL2 or AAL3 fails closed. The push
approval confirms the purpose-bound user action but is not promoted into a
stronger authentication claim.
PostgreSQL stores the tenant/server/client binding, an auth_req_id digest,
poll and notification state, lease timing, attempt count, and a non-secret
error digest. Vault Transit protects the runtime envelope containing the raw
request identifier, subject, scope, authenticator challenge, registered
callback, and callback token. Login hints, binding messages, user codes, and
raw notification values are not clear SQL columns. Database triggers prohibit
runtime-envelope mutation, forged delivery transitions, reuse, and premature
deletion.
Validation and standards
Run the retained Docker gate with:
make authorization-server-docker-validation
The gate uses real PostgreSQL and Vault containers plus a TLS callback. It
proves poll restart continuity, ping response-loss retry across restart,
cross-replica lease exclusion, callback-before-token ordering, single-use
redemption, AAL1 claim discipline, minimum-disclosure persistence, and SQL
tamper rejection. The independent verifier is
scripts/validation/verify-authorization-server-docker-validation.py.
The implementation is guided by OpenID Connect Client-Initiated Backchannel Authentication Flow 1.0: https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html. The comparison boundary for PingFederate is its official OAuth-client and CIBA documentation: https://docs.pingidentity.com/pingfederate/13.0/administrators_reference_guide/pf_configuring_oauth_clients.html and https://docs.pingidentity.com/pingfederate/13.0/introduction_to_pingfederate/pf_ciba_by_ping.html.