Briefing · Article · source · published · Boston Identity
CIBA's human-approval step carries a short matching code, not a description of the action
CIBA is the OpenID Foundation's 2021 standard for asking a person to sign in and approve a request on their own phone, with no browser redirect. Agent designs we have read cite it as their human-approval step. The core spec gives that person a short binding message meant as a matching code, and the client has to know who to ask before it starts.
OpenID Foundation · Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell · September 1, 2021 · read
What's happening
Finding2CIBA's binding_message is designed as a short code for matching two screens, and the spec defines no parameter for an action or an amount.
In CIBA, the one request parameter meant to be shown to the person is binding_message, and the spec designs it as a short code for matching two screens. It says the value SHOULD be relatively short, in a limited set of plain-text characters, and should let the user tell that the two devices belong to one transaction, "such as a random value of reasonable entropy (e.g. a transactional approval code)." Past that, the provider MUST obtain the person's authorization decision as OpenID Connect Core describes it. The spec defines no parameter for an action or an amount, though it lets extensions and profiles add parameters, and none of the tokens it defines carries the binding message back to the client. Several agent designs we have read cite CIBA for approving a specific action; we read that as needing a profile on top of the core spec.
Figure steps
- The client posts its request to the provider's backchannel endpoint, naming exactly one user hint and, if it chooses, a short binding message.
- The provider answers at once with a request id, an expiry and a polling interval; the person has not been asked yet.
- The provider signs the person in on their own device, shows the binding message, and gets their authorization decision.
- Tokens reach the client by poll, ping or push. In push mode the ID token carries the request id and token hashes.
- None of the tokens the spec defines carries the binding message back to the client.
The person's phone shows the binding message, but none of the tokens the spec defines carries that message back to the client.
Sequence as the CIBA Core 1.0 specification describes itSource dated September 1, 2021Passage: Section 4
Swipe for the full figure →
CIBA starts on the client's side, so a client that knows a user's identifier can start a prompt to that user, and the spec's guards against that are soft.
CIBA starts on the client's side, so the client must already know whom to ask. Each request carries exactly one user hint (a login_hint_token, an earlier ID token or a plain login_hint), and the provider MUST reject a request with more than one. A client, or a person at a client, who knows a user's identifier can therefore start a prompt to that user, and the spec's guards against that are soft: implementing user_code, a secret the user supplies so others cannot start requests to their device, is optional for providers, and the login_hint_token SHOULD be signed. The spec's own examples are a call-centre agent, a bank teller and a phone approving a payment at a point-of-sale terminal. Its "agent of the Client" who may pass the binding message on is relying-party staff, as in the bank-teller example; the text never mentions software agents.
flag a problem with BI-FIND-2021-0002
Section by section
6showing 6 of 6
[1]Purpose and overview
Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell, Telefonica I+D; Deutsche Telekom AG; Moneyhub; Ping Identity
StandardsAgentic identity
Purpose and overview
Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell, Telefonica I+D; Deutsche Telekom AG; Moneyhub; Ping Identity
CIBA lets a Relying Party that holds a user identifier start authentication without any browser redirect or user interaction on the consumption device. The spec adds a new endpoint and asynchronous result delivery; it adds no scopes and leaves OpenID Connect semantics unchanged. It states the OP needs some out-of-band way to reach the user.
technical artifactfrom published text
[2]Registration and discovery metadata
Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell, Telefonica I+D; Deutsche Telekom AG; Moneyhub; Ping Identity
Standards
Registration and discovery metadata
Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell, Telefonica I+D; Deutsche Telekom AG; Moneyhub; Ping Identity
Defines the CIBA grant type (urn:openid:params:grant-type:ciba), OP discovery metadata and client registration metadata. Delivery mode (poll, ping, push) is fixed at registration; ping and push clients MUST register an HTTPS notification endpoint. Pairwise identifiers need a proven-owned jwks_uri, via signed requests, self-signed mTLS or private_key_jwt.
technical artifactfrom published text
[3]Poll, ping and push modes; example use cases
Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell, Telefonica I+D; Deutsche Telekom AG; Moneyhub; Ping Identity
Standards
Poll, ping and push modes; example use cases
Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell, Telefonica I+D; Deutsche Telekom AG; Moneyhub; Ping Identity
Poll: client polls the token endpoint. Ping: OP posts the auth_req_id, client then fetches tokens. Push: OP posts the full tokens to the client. Push tokens can be bound to key material presented at the backchannel endpoint. Example use cases are a call-centre agent, a bank teller, and phone approval of a point-of-sale payment.
technical artifactfrom published text
[4]Backchannel authentication request, hints, binding message, user code
Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell, Telefonica I+D; Deutsche Telekom AG; Moneyhub; Ping Identity
StandardsAgentic identity
Backchannel authentication request, hints, binding message, user code
Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell, Telefonica I+D; Deutsche Telekom AG; Moneyhub; Ping Identity
Client POSTs to the Backchannel Authentication Endpoint with the openid scope, client authentication, and exactly one user hint. Optional binding_message ties the two devices visually; optional user_code blocks unsolicited requests to a user's device. Requests may be signed as a JWT (asymmetric, encrypted not supported). OP returns auth_req_id, expires_in, interval.
technical artifactfrom published text
[5]User consent and getting the authentication result
Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell, Telefonica I+D; Deutsche Telekom AG; Moneyhub; Ping Identity
Standards
User consent and getting the authentication result
Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell, Telefonica I+D; Deutsche Telekom AG; Moneyhub; Ping Identity
The OP authenticates the user on the authentication device and MUST obtain an authorization decision. Clients then get results by polling (honouring interval; 30s long-poll suggested), ping callback, or push callback bound by at_hash, rt_hash and auth_req_id claims in the ID Token. Errors reuse device-flow codes (authorization_pending, slow_down, expired_token, access_denied).
technical artifactfrom published text
[6]Security and privacy considerations
Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell, Telefonica I+D; Deutsche Telekom AG; Moneyhub; Ping Identity
Standards
Security and privacy considerations
Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell, Telefonica I+D; Deutsche Telekom AG; Moneyhub; Ping Identity
Security: login_hint_token SHOULD be signed; OP SHOULD verify the notification endpoint is under the client's authority; push delivery needs extra controls and sender-constrained tokens should be considered. Privacy: static identifiers like phone or email leak; alternatives are pairwise id_token_hint, single-use QR identifier, or discovery service. Context metadata is neither required nor defined.
technical artifactfrom published text