{"id":"TIE-AGT-022","title":"Customer confirmation of agent actions on a second device","maturity":"documented","collection":"Agent identity","category":"Human oversight","complexity":"Medium","intent":"When a customer-facing agent wants to do something consequential on a customer's account, ask the customer to confirm that exact action on a trusted device they already use, out of band, and let the API act only on a token that carries the confirmed details.","summary":"Chat confirmations can be faked by the agent or a prompt injection. This pattern uses OpenID CIBA with Rich Authorization Requests: the agent's backend asks the customer's banking or retail app to show the exact action, the customer approves there, and the API checks that the token matches what it is asked to do.","problems":["Irreversible agent actions","Fraud through AI agents","Accountability for AI actions","Strong customer authentication","Excessive agency","Push fatigue and prompt bombing"],"standards":["OpenID Connect Client-Initiated Backchannel Authentication (CIBA) Core 1.0","FAPI CIBA profile","OAuth 2.0 Rich Authorization Requests (RFC 9396)","OAuth 2.0 Token Exchange (RFC 8693)","OWASP Top 10 for Agentic Applications 2026 (ASI09 Human-Agent Trust Exploitation)"],"tags":["CIBA","decoupled authentication","out-of-band","push approval","transaction confirmation","binding message","RAR","authorization_details","customer agent","CIAM","payments","step-up","human in the loop","push fatigue"],"roles":["IAM architect","Identity engineer","Security leader","Platform engineering","AI engineering"],"industries":["Cross-industry","Financial services","Healthcare","Retail","Public sector"],"builds_on":["TIE-AGT-004","TIE-AGT-002"],"related":["TIE-AGT-003","TIE-AGT-005","TIE-AGT-023"],"authors":"Trevonix Innovation","reviewers":"Trevonix IAM architecture","version":"1.0","last_reviewed":"2026-11-24","published":"2026-11-24","og_image":"og-tie-agt-022.png","sections":{"summary":[{"type":"bullets","content":"The **customer, not the chat**, confirms consequential actions: the agent's backend starts a **CIBA** request and the customer approves on their **trusted app**, out of band.\nThe request carries the **exact details** (payee, amount, account, item) as **authorization_details**, plus a short **binding message**. The app shows them; the token returned carries them.\nThe API acts only when the **token's details match the request**, once, before expiry. Silence, rejection or a mismatch means nothing happens."}],"problem":[{"type":"paragraph","content":"Customer-facing agents are moving from answering questions to doing things: paying a bill, moving money between accounts, changing a delivery address, cancelling a policy. The usual safeguard is a confirmation inside the conversation: \"Shall I go ahead? Reply yes.\" That reply comes through the same channel the agent controls. A prompt injection in a document, a manipulated agent or a session hijack can produce the \"yes\", and the customer may never see what was actually done.\n\nCustomers already have something better: the banking or retail app on their phone, bound to their account and protected by device keys and biometrics. The missing piece is a standard way for the agent's backend to ask that app to confirm a specific action, and for the API to know the confirmation covered exactly what it is being asked to do."},{"type":"note","content":"In regulated payments, confirmation that shows the payee and amount and is bound to them is already expected for strong customer authentication. Agents do not remove that expectation; they make it more important.","title":"Why this matters"}],"use_when":[{"type":"bullets","content":"A customer-facing agent can take actions on the customer's account that are hard to undo or that move money or data out.\nCustomers already use a mobile app you control, or an authenticator app, that can receive push requests.\nThe action needs the customer's own approval, not an employee's (for employee approvals see TIE-AGT-004)."}],"avoid_when":[{"type":"bullets","content":"Low-value, reversible actions. Use a mandate with limits instead (TIE-AGT-023) so customers are not interrupted constantly.\nYou have no trusted second channel. Email links and SMS codes are weak for high-value actions; fix the channel before relying on this pattern."}],"forces":[{"type":"bullets","content":"**Safety against friction.** Every confirmation interrupts the customer; too many and they approve without reading.\n**Detail against readability.** The phone screen must show enough to decide (payee, amount, account) but not a wall of text.\n**Speed against patience.** The agent must wait for the customer; timeouts must fail safe without losing the conversation.\n**Convenience against fraud.** A compromised agent could flood customers with requests hoping one is approved."}],"solution":[{"type":"paragraph","content":"When the policy decides an action needs the customer's confirmation, the agent's backend (a confidential client, never the model) sends a backchannel authentication request to the authorisation server. It identifies the customer with a hint, includes a binding message and the structured details of the action as authorization_details, and sets a short expiry. The authorisation server pushes the request to the customer's trusted app, which shows the details and asks for approval with a device-bound key and biometrics. The backend polls for the result. On approval it receives a token carrying the approved details, scoped to the target API. The API compares the details in the token with the request it receives and executes only on an exact match."},{"type":"image","content":"The customer approves the exact action on their own app; the API executes only if the token's details match.","title":"Solution overview","media":"tie-agt-022-solution.png","alt":"Diagram. A customer chats with an AI agent in a web or app channel. Step 1: the agent asks to pay 340 GBP to Acme Ltd; the policy decision point says customer confirmation required. Step 2: the agent's backend, a confidential client, sends a CIBA request to the authorisation server with login hint, "},{"type":"table","content":"Element | Purpose | Guidance\n`login_hint` or `id_token_hint` | Identifies the customer | Use an opaque customer ID, not a phone number typed into chat\n`binding_message` | Short text shown on both devices | Payee, amount and a short reference; keep within the authorisation server's limit (often 100 characters)\n`authorization_details` | Structured details the token will carry | Register the types (for example `payment_initiation`) on the authorisation server\n`requested_expiry` | How long the customer has | A few minutes; expiry means rejection\nDelivery mode | How the backend learns the result | Poll or ping; avoid push mode, which FAPI's CIBA profile does not allow\nToken audience | Where the token can be used | Only the API that performs the action","title":"Request design"},{"type":"numbered","content":"**Decide.** The PDP returns *customer confirmation required* for the action (for example payments above the customer's mandate, new payees, address changes).\n**Ask.** The agent's backend sends the CIBA request with the customer hint, binding message, authorization_details and expiry. It tells the agent \"waiting for your approval in the app\".\n**Show.** The customer's app displays the action from the authorisation server's data, not from text the agent wrote, and asks for biometric approval.\n**Collect.** The backend polls (or receives a ping) until approval, rejection or expiry.\n**Execute.** On approval, the backend calls the API with the new token. The API checks audience, expiry and that the token's authorization_details match the request, then executes once.\n**Close.** The agent tells the customer the outcome; the decision, request, approval and execution share one reference in the logs.","title":"How it works"},{"type":"code","content":"POST /bc-authorize\nclient_id=agent-backend&client_assertion=...\n&scope=openid payments\n&login_hint=cust-4821\n&binding_message=Pay Acme Ltd 340.00 GBP? Ref K7Q2\n&requested_expiry=180\n&authorization_details=[{\"type\":\"payment_initiation\",\n   \"instructedAmount\":{\"currency\":\"GBP\",\"amount\":\"340.00\"},\n   \"creditorName\":\"Acme Ltd\",\n   \"creditorAccount\":{\"iban\":\"GB00EXMP00000012345678\"}}]","title":"Example backchannel request","language":"http"},{"type":"tip","content":"Prompt bombing is the agent-era version of MFA fatigue. Rate-limit confirmation requests per customer, block new requests while one is pending, and give the app a \"This wasn't me\" button that stops the agent session and alerts fraud operations.","title":"Protect against request floods"}],"design_rules":[{"type":"numbered","content":"**The customer confirms on a channel the agent does not control.**\n**Show trusted details, not the agent's words.** The app renders authorization_details from the authorisation server.\n**Bind the token to the details.** The API checks the token's authorization_details against the request.\n**One approval, one action, short expiry.**\n**Only the backend can start a request.** The model never holds client credentials.\n**Silence means no.** Expired or rejected requests do nothing.\n**Limit the requests.** Rate limits, one pending request per customer, and a \"This wasn't me\" path.\n**Use mandates for routine actions** so confirmations stay rare and meaningful."}],"anti_patterns":[{"type":"table","content":"Anti-pattern | What goes wrong\n\"Reply YES to confirm\" in the chat | The agent or an injection supplies the yes\nPush notification that says only \"Approve sign-in?\" | The customer approves without knowing what they approved\nToken without the confirmed details | The backend or agent swaps the payee after approval\nEmail or SMS link for high-value actions | Phishable; the link can be forwarded or intercepted\nNo limit on confirmation requests | Customers are bombarded until one taps approve\nPush delivery mode | Tokens arrive at an endpoint without client authentication"}],"benefits":[{"type":"bullets","content":"Customer approval that a manipulated agent cannot fake.\nWhat the customer saw is exactly what executes.\nReuses the customer's existing app, device binding and biometrics.\nEvidence of customer consent for disputes and regulators."}],"costs":[{"type":"bullets","content":"A mobile app or authenticator that can receive and render CIBA requests.\nAuthorisation server support for CIBA and, ideally, Rich Authorization Requests.\nWaiting time in the conversation, and design for timeouts.\nFraud monitoring of rejections and \"This wasn't me\" reports."}],"tests":[{"type":"table","content":"Test | Expected result\nAgent requests a payment above the mandate | CIBA request sent; agent waits; customer's app shows payee, amount and reference\nCustomer approves | Payment executes once with the approved details\nCustomer rejects or ignores until expiry | Nothing executes; agent informs the customer\nBackend changes the amount after approval | API rejects: token details do not match\nAgent tries to start a second request while one is pending | Refused\nTen requests in a minute for one customer | Rate limit blocks further requests; alert raised\nCustomer taps \"This wasn't me\" | Agent session stopped; fraud alert"}],"maturity_notes":[{"type":"paragraph","content":"**Documented.** Trevonix has built approval holds and release at an API gateway with Ping Identity in a lab tenant (November 2026); the customer CIBA leg on a real device is written from vendor documentation and has not yet been lab-tested by Trevonix."}],"faq":[{"type":"faq","content":"Only for low-value actions. Email links can be phished and forwarded. Use a push to an app with a device-bound key for anything consequential.","title":"Can we use email or SMS instead of an app?"},{"type":"faq","content":"Ask only for actions outside the customer's standing mandate (TIE-AGT-023), above a threshold, or to new payees. Track approval rates and times; if customers approve everything in two seconds, you are asking too often.","title":"How do we avoid confirmation fatigue?"},{"type":"faq","content":"Yes. CIBA was designed for exactly this kind of decoupled flow, and banks already use it for call-centre and point-of-sale confirmation. The agent's backend simply plays the role of the client that cannot show the customer a screen.","title":"Is CIBA really meant for this?"}],"references":[{"type":"bullets","content":"[OpenID Connect Client-Initiated Backchannel Authentication Flow - Core 1.0](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html)\n[RFC 9396: OAuth 2.0 Rich Authorization Requests](https://www.rfc-editor.org/rfc/rfc9396)\n[PingOne Advanced Identity Cloud: Backchannel request grant (CIBA)](https://docs.pingidentity.com/pingoneaic/am-oidc1/openid-connect-backchannel-request-flow.html)\n[PingOne: Configuring a CIBA flow](https://docs.pingidentity.com/pingone/use_cases/p1_configure_ciba_flow.html)\n[Auth0 for AI Agents: Asynchronous authorization](https://auth0.com/ai/docs/intro/asynchronous-authorization)\n[Okta Support: CIBA is available for web applications only](https://support.okta.com/help/s/article/client-initiated-backchannel-authentication-not-available-for-single-page-applications)"}]},"recipes":{"ping":{"status":"documented","product_name":"PingOne Advanced Identity Cloud, PingOne or PingFederate with PingOne MFA","summary":"CIBA with binding messages and push to the customer's device; partial Rich Authorization Requests support in Advanced Identity Cloud. Written from Ping documentation; the customer device leg is not yet lab-tested by Trevonix.","last_verified":"2026-11","blocks":[{"type":"table","content":"Product | CIBA support\nPingOne Advanced Identity Cloud and PingAM | Backchannel request grant following FAPI guidance; a CIBA journey sends the push with the binding message\nPingOne | CIBA through a DaVinci flow of type P1 with subtype CIBA\nPingFederate | CIBA with the PingOne MFA CIBA Authenticator for push to the customer's paired device","title":"Options"},{"type":"numbered","content":"In Advanced Identity Cloud, register the agent's backend as a confidential OAuth client allowed to use the backchannel request grant, with signed request objects.\nCreate a CIBA journey that sends the push notification with the binding message, and select it for CIBA requests. Do not mark it as a transactional journey.\nSend authorization_details in the request where your version supports it (Advanced Identity Cloud added partial RAR support in 2026), or carry the details in a signed request object and enforce them at the API.\nPoll the token endpoint with the auth_req_id until approval, rejection or expiry.\nIn the payments API or at PingGateway, compare the approved details with the request before executing.","title":"Configure (Advanced Identity Cloud)"},{"type":"bullets","content":"Binding messages are limited to 100 characters and, for push, must start with a letter, number or punctuation mark and contain no line breaks.\nWith PingFederate and PingOne MFA, the MFA policy used for CIBA must have number matching turned off.","title":"Gotchas"}]},"okta":{"status":"documented","product_name":"Okta custom authorization server with CIBA","summary":"CIBA for Web application clients with a custom authenticator app; no documented RAR, so details are enforced from your own transaction record. Written from Okta documentation.","last_verified":"2026-11","blocks":[{"type":"numbered","content":"Okta supports CIBA on custom authorization servers for **Web** application clients only, with a custom authenticator app built with the Okta Devices SDK.\nSet up the notification service and custom authenticator, allow the CIBA grant in an access policy rule, and enable CIBA on the agent backend's Web application.\nOkta does not document Rich Authorization Requests; put the action details in the binding message and enforce them at the API from your own transaction record.","title":"Configure (Okta)"}]},"entra":{"status":"not-available","product_name":"Microsoft Entra ID and External ID","summary":"No CIBA endpoint; use your own app channel and enforce the binding at the API.","last_verified":"","blocks":[]},"saviynt":{"status":"not-available","product_name":"Saviynt","summary":"Not an authorisation server for customer sign-in; can block unconfirmed tool calls at Agent Access Gateway.","last_verified":"","blocks":[]},"misc":{"status":"documented","product_name":"Auth0 for AI Agents (asynchronous authorisation)","summary":"CIBA with Rich Authorization Requests and Guardian push, built for agents that need customer approval. Written from Auth0 documentation; not lab-tested by Trevonix.","last_verified":"2026-11","blocks":[{"type":"paragraph","content":"Auth0 implements asynchronous authorisation for agents as CIBA with Rich Authorization Requests. Guardian push to the Auth0 Guardian app, or to your own app built with the Guardian SDK, is the recommended channel; email is a paid add-on and must be enabled explicitly."},{"type":"numbered","content":"Configure CIBA for the tenant and enable it on the agent backend's application, with Guardian push as the notification channel.\nRegister the authorization_details types (for example `payment_initiation`) on the API in Auth0.\nEnrol customers in Guardian push, or integrate the Guardian SDK into your own app so it renders the details.\nStart requests from the backend with `/bc-authorize`, the customer's user ID, a binding message and authorization_details; poll `/oauth/token` for the result.","title":"Configure (Auth0)"}]}},"slug":"tie-agt-022-customer-confirmation-of-agent-actions-on-a-second-device","updated_at":"2026-11-24T18:10:11.026Z","url":"https://exchange.trevonix.com/patterns/tie-agt-022-customer-confirmation-of-agent-actions-on-a-second-device","markdown_url":"https://exchange.trevonix.com/patterns/tie-agt-022-customer-confirmation-of-agent-actions-on-a-second-device.md","publisher":"Trevonix","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"}}