Skip to content
IAM Insights

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

share
2 findings6 sectionsStandardsAgentic identity
9,929 words. With Gonzalo Fernandez Rodriguez, Florian Walter, Axel Nennker, Dave Tonge, Brian Campbell, author, Telefonica I+D; Deutsche Telekom AG; Moneyhub; Ping Identity.
01

What's happening

Finding2
BI-FIND-2021-0001Lead finding

CIBA'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.

high confidencebest source: media and analystsobserved Sep 2021EvidenceSection 4Section 5
flag a problem with BI-FIND-2021-0001
Figure steps
  1. The client posts its request to the provider's backchannel endpoint, naming exactly one user hint and, if it chooses, a short binding message.
  2. The provider answers at once with a request id, an expiry and a polling interval; the person has not been asked yet.
  3. The provider signs the person in on their own device, shows the binding message, and gets their authorization decision.
  4. Tokens reach the client by poll, ping or push. In push mode the ID token carries the request id and token hashes.
  5. None of the tokens the spec defines carries the binding message back to the client.
Fig. 1

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 →

BI-FIND-2021-0002

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.

02

Section by section

6

showing 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

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

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: 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

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

[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: 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

Terms used

CIBA
Client-Initiated Backchannel Authentication — an OpenID flow where sign-in is approved out-of-band on another device (say, a push to your phone) rather than in the requesting browser.
OpenID Foundation
The standards body behind OpenID Connect, CIBA, and AuthZEN — where much of the web's login plumbing gets written.
OpenID Connect
OpenID Connect — an identity layer on top of OAuth 2.0 that lets an app verify who the user is through an identity provider; the protocol behind most “Sign in with…” buttons.
ID Token
A signed JSON Web Token (JWT) that an OpenID Connect provider issues to tell an app who signed in. Required claims include the issuer, subject, audience, expiry (exp) and issued-at time.
Relying party
The website or service that accepts a sign-in or credential from someone else's identity system and relies on it to decide who the user is.
OpenID Provider (OP)
The server in OpenID Connect that signs a user in and issues an ID token saying who they are. Relying parties, the apps that accept the login, trust it for that answer.
Pairwise pseudonymous identifier
Pairwise pseudonymous identifier (PPID): a user identifier that differs for every app or app group, so two apps cannot compare identifiers to tell they serve the same person.
mTLS
Mutual TLS: both sides of a connection present and verify a certificate during the TLS handshake, so the server authenticates the client as well as the client authenticating the server.

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity