Skip to main content
Sensitive actions — deleting important data, changing payment details, granting someone access, approving a payment — deserve a fresh confirmation even from a user who is already signed in. Veriqa does that with one tap in a messaging app instead of an SMS code. There are two ways to do it. Signing in again fits when you need to know the same person is still at the screen. Confirming the action fits when the person must see exactly what they confirm, such as the amount and recipient of a payment.

What you send

A new authorize request before the action itself, the same one you send for sign-in:

What you check

Two claims in the new id_token:
  • sub — the same person. Perform the operation only if it is the sub of the signed-in user or, after a confirmation in another channel, a sub linked to their account (see Two different channels). Without this check, someone who has taken over the session confirms the operation in their own messaging app.
  • auth_time — a fresh confirmation, the moment the confirmation completed. Freshness is your call: compare auth_time with the current time and decide whether it fits the window this operation deserves.
Do not trust your own cookie. The evidence of a fresh confirmation is auth_time from the new id_token, not the presence of a session in your application: a session only says the person signed in at some point.
The core does not read max_age. Sending the standard OIDC max_age=0 does no harm, but it does not affect Veriqa’s behavior — do not build logic on it. There is one freshness mechanism here: a new authorize plus the auth_time check.

Why this works

There is nothing to bypass: the issuer keeps no long-lived session. The only cookie between callback and authorize is single-use and is cleared as soon as the code is issued, so every fresh authorize request asks for confirmation in the channel again.

Going stronger: two different channels

One sensitive operation can be confirmed in two different trusted channels — WhatsApp plus email, for instance. To narrow a specific request to one channel, use acr_values:
Multiple values are separated by spaces, and the user then picks from the ones listed. One person has a separate sub in each channel, so a confirmation in another channel returns a sub other than the one the user signed in with. Store the sub of every channel linked to the account and check that the new sub is one of them, as in Stronger sign-in with a chain of channels. A sub the account does not hold fails the check, however fresh its auth_time. Check amr as well: it must name a channel you listed in acr_values, other than the one the user signed in with. The request goes through the user’s browser, which can drop acr_values, and the new id_token can then come from the channel the user signed in with.

Enriching the profile along the way

A confirmation is a convenient moment to collect what you are missing: request scope=email or phone and the application receives a verified contact during the confirmation itself — no separate form, no separate verification. The exact claims depend on the channel.

Confirming a specific action

Confirming an action through Veriqa: your server creates the transaction, the person scans the QR code your app shows and confirms in a channel, and your server reads the answer and performs the action.
When the person must see what they confirm, your backend creates a server-to-server transaction: POST /api/transaction/confirmation with a declared action type and its slot values. The person gets a message in their messaging app that states the action, such as “Approve a payment of 42.00 EUR to ACME Ltd?”, and confirms it. To accept a confirmation only from the account owner, the backend sends expected_identities and checks matched_type in the result. The browser is not involved: the backend gets a token with client credentials and waits for the transaction outcome.
Confirming a purchase: the app shows a QR code for a $99 plan, the phone camera scans it, the user confirms in Messenger, and the chat replies "Purchase confirmed".

The app shows a QR code, and the person confirms the purchase in Messenger.

The samples/dotnet/inproc/step-up sample is ready to run, and the others are on the Step-up, second factor, human-in-the-loop page. Fields and errors are in the Server-to-server confirmation API reference.
See it live. In the Helio online sample, closing or deleting a ticket is confirmed in the messaging app; in Nova Stream, buying a title is. Only the signed-in person can confirm.