Mandate · Concept
CIBA and RAR
CIBA (OpenID Connect Client-Initiated Backchannel Authentication) is the standard way for an OAuth client to ask a person, out of band, to approve what it wants. Rich Authorization Requests (RAR, RFC 9396) is the standard way to say exactly what that is, in authorization_details. Provenance implements CIBA core poll and ping modes with RAR, so any client that already speaks them can ask your people to approve an exact action.
When to use it
- Your identity or platform team wires agent approvals through OAuth rather than an SDK.
- An agent platform already has a CIBA client and needs a person to approve a payment, a change or a message.
- You want the approval bound to the exact action, under your versioned policy, with a signed receipt, from a standard flow.
How it works
- The client asks. It authenticates with
private_key_jwtorclient_secret_basic, names the person with a hint, and describes each action as aprovenance_actiondetail. - The policy decides. Each action goes through the same path as an intent token and a verify: the account's policy reads the detail's amount, action type and counterparty. It's approved at once, sent to the person, or denied.
- The person approves. The approval reaches the hinted person through their delivery channels, shows the description, amount, counterparty and the client's binding message, and records how they approved.
- The client polls, or in ping mode waits for our notification and then polls once. Once approved, the token endpoint returns an intent token bound to the action and the detail, each detail's receipt id, and an id token for the approver.
- CIBA requesthint + authorization_details
- Verify pathpolicy, approval, ledger
- Tokensintent token, receipts, id token
Every decision is an ordinary row in the decision ledger, with the OAuth client's id. Its receipt says decided_via: "ciba", and the console's Decisions page filters by OAuth client.
RAR on the authorization code flow
On /authorize, a person's own assistant can send authorization_details as well (connect your own assistant). The consent screen lists what it asks to do, and its access tokens carry the details as approved. An assistant that sends none gets tokens without them.
Key terms
| Term | Meaning |
|---|---|
| OAuth client | A confidential client of your account (Developers → OAuth clients), with its keys or secret, allowed scopes, detail types and delivery modes |
auth_ | The id of one backchannel request; the client polls with it and it works once |
provenance_ | The one RAR type: action_, description, and optionally amount, currency, counterparty, payload_, mandate_, run_ |
Pairwise sub | The id token's subject: stable for a person at one client, unrelated at any other |
binding_ | Up to 64 characters the person sees, so they can match the request to the app that sent it |
What stays the same
The person approves the exact action, with the same passkey or biometric rules your policy sets. Approval routing, quiet hours, escalation and delivery are the ones the account already has. The access token is an ordinary intent token, so merchants and services verify it the way they verify any other.