How to Require a Fresh Sign-In Before MFA or Recovery Email Changes
A recovery email or phone number change uses the documented contact step-up rule: call the step-up endpoint, send the person to verification_url, and write the change only after your backend reads an approved step-up.

Contents
In this guide
Jump to the part you need.
A fresh proof of identity before a user changes their recovery email or phone number is a step-up: your app asks Didit whether the person must verify again, and writes nothing until your backend reads an approved result. It fits teams already signing people in with Didit Authentication. Liveness or selfie login costs $0.10 per check and full ID costs $0.33. MFA changes have no documented step-up action of their own.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Change the person starts | Action you send | Default check | Price at list |
|---|---|---|---|
| Recovery email or phone number | contact | Liveness | $0.10 |
| Authenticator added or changed | None documented for MFA | None documented for MFA | No dedicated rule; use a fresh sign-in or confirm the design with Didit first |
| Bank account added or changed | bank | Full ID | $0.33 |
| Payout above your threshold | payout | Selfie login | $0.10 |
Start free in the sandbox at business.didit.me, no sales call, and read every unit price on didit.me/pricing. If you want an AI assistant to walk your setup, connect Didit through the Didit MCP server.
Outcome and recommended method
The outcome is narrow and testable: a person who asks to change their recovery email or phone number passes the configured verification check before your app writes anything, and your app writes the change only after your own backend reads an approved step-up. The method we recommend is the step-up call in Didit Authentication. Not a password re-prompt, and not a confirmation link in an inbox that may already be in someone else's hands.
A password re-prompt reuses the same secret the person typed when they signed in. MFA at sign-in, returned as mfa_required with a challenge and factors, protects the session being created. It does not cover a change made forty minutes later inside a session that already passed it. A step-up asks for something an attacker usually cannot produce on demand: a live face, or a face plus an identity document.
The step-up endpoint takes three actions: payout, bank and contact. Contact is the documented rule for a change to the email address or phone number, which is the recovery email case. Its default check is liveness and you can raise it to full ID in the console. There is no step-up action for an authenticator change, and we will not pretend otherwise: the contact rule is documented for email and phone changes only, so do not map MFA onto it. For an authenticator change, send the person through a fresh sign-in on the hosted page and treat the new session as the proof, or confirm the MFA-change design with Didit before you build it.
Prerequisites
- A Didit application, live or sandbox, with Didit Authentication configured. Sandbox testing is free and unlimited on every plan.
- People signing in through your application, so their sessions carry an access token. Authentication is free for the first 50,000 active users each month.
- The step-up rules turned on in the console under Authentication > Verified identity, where you also choose the check for each rule. Documented on Verified identity.
- Your
return_tolisted among your registered redirect URLs. See the Authentication overview. - A backend that reads the step-up itself, using an access token of the same session.
- Optional but worth doing: a webhook destination subscribed to
auth.mfa_changed. See Authentication events and webhooks.
Steps to require a fresh sign-in before the change
- Choose the check for the contact rule. In the console, set the contact rule to Liveness for a selfie, or to Full ID when a recovery email change should also match a document. Liveness is the default. A selfie login becomes a full ID check when Didit holds no face for that person yet. When several rules apply, Didit asks for the strongest check.
- Keep the write on your server. The security settings screen calls your endpoint, never Didit directly, and your endpoint decides whether to write. The publishable key is public and the code exchange is protected by PKCE, so no Didit secret belongs in the app.
- Check the live session first.
GET {issuer}/session/fails at once when the session was revoked, went idle or expired, when the person was blocked, or when the session no longer meets your MFA policy. An access token alone stays valid for up to five minutes, so this read is the current state, not the token's state. - Ask Didit whether this change needs a check. Post the action with the person's access token:
curl --fail-with-body "${DIDIT_AUTH_ISSUER}/step-up/" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"action": "contact", "return_to": "https://app.example.com/payouts/confirm"}'
- Send the person to
verification_urlwhen the answer is 201. The step-up stays open for 30 minutes (expires_in: 1800). Do not show the new-email field as saved while the check is open. - Read the result on your backend. The person returns to
return_to, and your server reads the step-up with an access token of the same session:
curl --fail-with-body "${DIDIT_AUTH_ISSUER}/step-up/${STEP_UP_ID}/" \
-H "Authorization: Bearer $ACCESS_TOKEN"
- Write only on
approved. Then confirm the change to the new address, and end other sessions if that matches your policy. - Reconcile with events. An authenticator added or changed arrives as the
security.mfa_changedevent and theauth.mfa_changedwebhook. A password change arrives assecurity.password_changedand has no webhook. Both land on the person with the samevendor_data, next to their verifications.

Expected output
Two answers decide what happens next. When no rule applies, go ahead and write:
{"required": false}
When a rule applies, the call answers 201 with a verification_url, and the step-up stays open for 30 minutes (expires_in: 1800). After the person finishes, they come back to return_to with step_up=<id>&status=approved added to the query. That query proves nothing on its own. Only the backend read of the step-up counts, and the action goes ahead only when that read says approved.

If you would rather force a fresh sign-in
The hosted sign-in page is the authorization_endpoint at {issuer}/sign-in, and it runs your password, code, passkey, social, SSO, MFA and bot protection settings for you. Send the person back through it from the security settings screen and treat the new session as the proof that the account owner is present. The parameter table also lists an optional max_age, and prompt=none is not supported. Be clear about what this buys you: a new session that passed your MFA policy. It is not a step-up rule for MFA changes, and nothing in the step-up API documents one. Use the step-up for email, phone, bank and payout changes; use the fresh sign-in for the authenticator path.
Inputs and outputs
| Field | Rule |
|---|---|
action | payout, bank or contact. A payout also applies the device rule. |
amount | Required for payout, with up to two decimals. |
currency | ISO 4217 code. Defaults to the currency of your payout rule. |
return_to | Where the person returns after verifying. When a rule applies, it must be one of your registered redirect URLs. |
| Response or status | What your app does |
|---|---|
200 {"required": false} | No rule applies. Go ahead with the change. |
201 with verification_url | Send the person there. Open for 30 minutes. |
pending | The person has not finished the check. Do not write. |
approved | Passed. Write the change. |
review | Waiting for your team's review. Do not write yet. |
declined | Did not pass. Not final while verification_url still works. |
expired | The 30 minutes passed. Create a new step-up. |
superseded | Another check took over, or the result was not for this step-up. Create a new one. |
Failure cases and recovery
- The person closes the tab. The step-up stays pending and then expires after 30 minutes. Create a new one when they come back.
- The check is declined. It is not final while
verification_urlstill works: the person can try again and the step-up returns topending. Nothing is written in the meantime. - The check lands in review. Your team reviews it like any other verification. The change waits until the status is
approved. - The result is superseded. Create a new step-up rather than reusing the old result.
- Verification is unavailable. A step-up never fails open: when verification is unavailable, the action stays blocked. Show a retry, never a bypass.
- Someone edits the redirect. The
status=approvedin the query string proves nothing. Act only on the step-up your backend read itself. - Token trouble. The code exchange answers
400 {"error": "invalid_grant"}when the code is unknown, used or expired, and400 {"error": "mfa_required"}when the sign-in did not meet your MFA policy. Send the person through sign-in again rather than writing the change.
Paid steps and review boundaries
Every step-up runs as a verification session of your own application, created with the person's vendor_data. That is why it shows up in your verifications, on the same person as their sign-ins and transactions, and why it goes to manual review like any other verification and is billed at that verification's price. Nothing here is a hidden platform fee: the price you see for the check is the price of the session, and that charge is paid from your prepaid plan credit before any top-up balance is touched.

- Liveness, one selfie checked for liveness: $0.10 per check.
- Selfie login, a selfie matched to the face Didit already holds for the person: $0.10 per check.
- Full ID, document, liveness and face match: $0.33 per check.
- Authentication itself is free for the first 50,000 active users each month, then $0.02 per active user month in the price book.
- The review boundary is yours: a step-up in
reviewwaits for your team before the change can be written.
Worked cost example
Take a product with 40,000 active users a month, where 600 people change a recovery email and 150 people change a phone number each month. The recovery email changes run on the default liveness check, the phone number changes run on the contact rule raised to full ID, and nobody crosses the 50,000 free active users.
- Sign-in for 40,000 active users: 40,000 is inside the first 50,000 free each month, so $0.00.
- Recovery email changes: 600 x $0.10 = $60.00.
- Phone number changes at full ID: 150 x $0.33 = $49.50.
- Total at list: $60.00 + $49.50 = $109.50 for the month.
- On Growth, at 4% off Didit prices: $60.00 x 0.96 = $57.60, and $49.50 x 0.96 = $47.52, so $57.60 + $47.52 = $105.12.
- On Scale, at 10% off: $60.00 x 0.90 = $54.00, and $49.50 x 0.90 = $44.55, so $54.00 + $44.55 = $98.55.
Usage is paid from the month's plan credit first, then from top-ups, and plan credit is added every month and does not roll over. Growth is $99 a month with $115 of credit and Scale is $299 a month with $350 of credit, so assuming no other usage on the account, both examples fit inside the monthly credit: $105.12 of the $115 on Growth, and $98.55 of the $350 on Scale. The payable amount for the month is then the plan fee itself. Read the current plan terms on didit.me/pricing before you budget, and the billing rules on pricing in the docs.
Sources
- Didit docs: Verified identity, step-up before sensitive actions
- Didit docs: Sign-in methods, MFA and protection responses
- Didit docs: Tokens and JWKS, session checks and sign-in parameters
- Didit docs: Authentication events and webhooks
- Didit docs: Authentication integration guide
- Didit docs: Authentication overview and redirect URLs
- Didit docs: Pricing and billing rules
- Didit pricing page and live price feed, read November 26, 2026
- Didit MCP server setup
The next step is a sandbox application: create one at business.didit.me, no sales call, set the contact rule to the check you want, and run one recovery email change end to end before you ship it to live users.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
How do I require reauthentication before a user changes MFA or a recovery email?
For a recovery email or phone change, call Didit's step-up endpoint with action: "contact" before your app writes anything, send the person to the returned verification_url, then read GET {issuer}/step-up/{step_up_id}/ on your backend and write only when the status is approved. Didit documents no step-up action for MFA changes, so for an authenticator change either force a fresh sign-in on the hosted page or confirm the design with Didit first. A declined, expired or superseded step-up must block the write.
Does Didit have a step-up action specifically for MFA changes?
Not today. The documented actions are payout, bank and contact, and contact is the rule for a change to the email address or phone number. Didit documents no step-up action specifically for MFA changes, so use a documented fresh sign-in flow, or confirm the required MFA-change design with Didit before implementation. The auth.mfa_changed webhook records the change afterwards, but it is an event record, not a gate.
How long does a step-up stay valid?
Thirty minutes. The 201 answer carries expires_in: 1800, and a step-up that runs out reads expired. Create a new step-up rather than trying to revive the old one.
What does the step-up call return when no rule applies?
It returns 200 {"required": false}, which means no rule applies and your app can go ahead. That is how a policy that only covers large payouts, or only contact changes, stays out of the way of everything else.
Can my frontend trust status=approved in the redirect?
No. The person comes back to return_to with step_up=<id>&status=approved added, and that query string is only a hint that something finished. Your backend reads the step-up with an access token of the same session and acts only on the status it reads itself.
What happens when the person fails the check?
A declined result is not final while verification_url still works: the person can try again and the step-up returns to pending. After the 30 minutes pass, the status is expired and you create a new step-up. Nothing is written at any point before an approved read.
How much does each step-up cost?
Liveness is $0.10 per check, selfie login is $0.10, and full ID, which includes document verification, liveness and face match, is $0.33. Each check is a verification session billed at that verification's price, paid from prepaid plan credit before any top-up balance. Sign-in itself is free for the first 50,000 active users each month, then $0.02 per active user month.
Do I have to build my own sign-in screens to use step-ups?
No. Hosted pages are the recommended setup and handle MFA, MFA enrollment, protection challenges and verification at sign-up for you. If you run your own screens with sign_in_ui: "own", your app handles the mfa_required, mfa_enrollment_required, protection_required and verification_required answers itself, and the step-up call is the same either way.
How do I know afterwards that an authenticator or password actually changed?
An authenticator added or changed is stored as the security.mfa_changed event and delivered as the auth.mfa_changed webhook. A password change is stored as security.password_changed and has no webhook. Both appear on the person's timeline in the console next to their verifications.
Is a step-up the same thing as MFA at sign-in?
No. MFA at sign-in is the challenge inside the sign-in call, returned as mfa_required with a challenge and factors, and it protects the session being created. A step-up asks for a fresh check before one sensitive action inside a session that already exists, such as a recovery email or phone number change.
Does a step-up fail open if verification is down?
No. A step-up never fails open: when verification is unavailable, the action stays blocked. That is the behaviour you want on an account takeover path, so show the person a retry and keep the change unapplied.
We already sign people in with another provider. Can we add this gate?
You need Didit Authentication on the account before a step-up means anything, so plan the sign-in move first. The migration notes are at didit.me/switch, and the integration guide covers hosted or own screens, token handling and the go-live checklist.
Can I test the whole flow for free?
Yes. Sandbox testing is free and unlimited on every plan, and sandbox and live are separate issuers with separate keys. Set the method up in a sandbox application first, then in your live one.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


