Skip to main content

Didit Sign-Up Verification on Your Own Sign-Up Screens

Your own sign-up screen gets verification_required plus a verification_url valid 30 minutes from that response. Send the person there; the sign-in code follows only after approval. Liveness $0.10, full ID $0.33.

Didit Sign-Up Verification on Your Own Sign-Up Screens

Contents

In this guide

Jump to the part you need.

Didit sign-up verification on your own sign-up screens asks for a liveness or full ID check before an account exists. You choose the sign-up level: no check, liveness, or full ID. On your screens, the sign-up call returns verification_required with a verification_url valid for 30 minutes from that response. Didit issues the sign-in code only after approval. Liveness costs $0.10 per check and full ID costs $0.33 per check.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

Sign-up verification for your own screens, at a glance
ItemWhat it is
Levelsnone (default), liveness, full_id
What your screen receivesverification_required with a verification_url, valid 30 minutes from the sign-up call response that produced it
When the sign-in code arrivesOnly after the check is approved
Price per check$0.10 liveness, $0.33 full ID
Own workflowEach check runs on Didit default workflow or one you pick for that check
Existing accountsUntouched. A new level applies to people who sign up from then on

Start free in the sandbox at business.didit.me, no sales call. For developers, connect Didit to an AI assistant through the Didit MCP server. The product detail is in the Authentication docs and every price is on didit.me/pricing.

Hosted pages or your own screens

Choose this before you build. Didit can host the sign-in pages, or your app can run every screen itself through the SDKs. The setting is sign_in_ui, hosted by default or own.

What changes when you use your own screens
ItemHosted pagesYour own screens
What you buildA sign-in button and a callback pageEvery screen and every intermediate step
MethodsAll methods, including magic linksPassword, email code, phone code, MFA and protection challenges through the SDK headless methods. Magic links run on hosted pages only
Next stepsMFA, MFA enrollment, protection and sign-up verification are handled for youYour screens handle mfa_required, mfa_enrollment_required, protection_required and verification_required
BrandYour logo, colors and texts from brandingEntirely yours
SetupRedirect URLsRedirect URLs plus your web origin in Allowed origins
PasskeysWork on the sign-in originOnly on pages served from the sign-in origin. On another domain, send people to the hosted page

This article covers the own screens route because that is where verification_required and verification_url matter. Hosted pages run the same check during sign-up without you handling the branch.

What verification_required and verification_url mean

Every sign-in and sign-up call on your own screens starts with a transaction from POST authorize/, which lasts 10 minutes. When you finish a step such as POST email/complete/, the answer is one of two things: a finished sign-in, or a step your screens still have to handle.

A finished sign-in returns {code, redirect_uri, state}, and your app exchanges that code at POST token/. A step returns mfa_required, mfa_enrollment_required, protection_required or verification_required. The last one means your verification settings require a liveness or ID check at sign-up.

verification_required comes with a verification_url. It is a hosted page where the person takes the selfie or scans the document, and it stays valid for 30 minutes from the response that produced it. Send the person there and wait. Didit issues the sign-in code only after the check is approved, so a person who has not passed never turns into an account.

What a working integration returns

Didit runs each check as a verification session of your own application, created with the person's vendor_data. That has three consequences you should design around. The check appears in your verifications on the same person as their sign-ins, it goes to manual review like any other verification, and it is billed at that verification's price.

What your app receives at the end is a short-lived access token, an ID token and a refresh token that rotates on every use, plus a session_id. The verified claims you selected, such as over_18 or a verified name, ride in the person's tokens. Their documents and photos never do.

Prerequisites

What you need before you start
RequirementDetail
PlanEligible organizations on Free receive $10 of monthly credit. The sandbox is free on every plan. Paid plans are $99 Growth and $299 Scale, with 4% and 10% off every Didit price. Read current plans on didit.me/pricing.
ApplicationA sandbox application has Authentication on from the start. A Live application turns it on from the Products page of the console; until then every runtime route returns 404.
CredentialAn API key of the application with the authentication scope at read or write, created in Developers, then API keys, or an owner-approved grant with didit:management.
Screens settingsign_in_ui set to own. Hosted is the default.
Origins and redirectsYour web origin in Allowed origins, and at least one registered redirect URL that matches exactly.
Client@didit-protocol/auth, @didit-protocol/auth-react, @didit-protocol/auth-nextjs, DiditAuth for iOS, me.didit:didit-auth for Android, @didit-protocol/auth-react-native or didit_auth for Flutter.

The integration, step by step

Step 1: Turn Authentication on and move to your own screens

Open the Business Console. A sandbox application already has Authentication on. For a Live application, open the Products page and turn it on before anything else.

Then set sign_in_ui to own, add your web origin under Allowed origins, and register your redirect URLs. An unregistered redirect URL is refused, so register the callback you will actually use in test and in production.

Step 2: Choose the level people must pass before an account exists

In the console, open Authentication, then Verified identity. Three levels are listed there. none lets anyone with an email, a phone or a passkey sign up. liveness asks for one selfie, checked for liveness. full_id asks for a document, liveness and a face match.

The same setting is available through the Authentication management API, as described in the Verified Identity docs and Set Up Didit Authentication by API. Set the level in a sandbox application first, then in your live one. A new level applies to people who sign up from then on, never to existing accounts.

Step 3: Start sign-up on your screens

Open a transaction with POST authorize/ on your sign-in origin, then run the method you enabled. For an email code sign-up, start it and complete it:

curl --fail-with-body '${DIDIT_AUTH_ISSUER}/email/start/' -H 'Content-Type: application/json' -d '{"transaction": "TX_FROM_AUTHORIZE", "purpose": "signup", "email": "person@example.com"}'
# 202 {"challenge": "...", "expires_in": 600}

curl --fail-with-body '${DIDIT_AUTH_ISSUER}/email/complete/' -H 'Content-Type: application/json' -d '{"transaction": "TX_FROM_AUTHORIZE", "purpose": "signup", "challenge": "CHALLENGE", "code": "123456"}'

The transaction lasts 10 minutes, so keep it in memory for the whole sign-up, including the verification step. If you use a password instead, the same shape applies: POST email/start/ with purpose: "signup", then POST email/complete/, and the account is created with a verified email.

Step 4: Branch on verification_required

The answer to the last call is either a step or a finished sign-in. Your screen does one thing with the step, and nothing else:

// The sign-up call answers one of the documented steps, or a finished sign-in.
// verification_required: send the person to its verification_url,
// which is valid for 30 minutes from that response.
// Didit issues the sign-in code only after the check is approved.
// { code, redirect_uri, state }: exchange the code within 60 seconds.

Treat the URL as short-lived state, not as something to store and reuse. Thirty minutes after the sign-up call response that produced it, the person has to start again to get a fresh one.

Step 5: Exchange the code your app receives after approval

When the check is approved, the person returns to your redirect URL with code and state. Check state against the one you kept for that tab, then exchange the code within 60 seconds. Each code works once.

curl --fail-with-body '${DIDIT_AUTH_ISSUER}/token/' -H 'Content-Type: application/json' -d '{"grant_type": "authorization_code", "code": "CODE_FROM_CALLBACK", "code_verifier": "YOUR_PKCE_VERIFIER", "redirect_uri": "https://app.example.com/auth/callback"}'

The response shape uses the fields shown in the tokens documentation:

{
  "access_token": "eyJhbGciOiJFUzI1NiIs...",
  "id_token": "eyJhbGciOiJFUzI1NiIs...",
  "refresh_token": "N4yZTl6y24YKYq77X_SO...",
  "token_type": "Bearer",
  "expires_in": 299,
  "session_id": "c9abf6cc-2d64-4bf2-b31e-a4d09a070ab1"
}

Lifecycle at a glance: ID verification $0.15, passive liveness $0.10, face match $0.05 and device and IP analysis $0.03, and the full ID check at sign-up is the $0.33 bundle of those parts. Liveness alone is $0.10.

Step 6: Decide from your backend, not from the browser

Your backend verifies the access token against your issuer's JWKS on every protected request, then checks iss, aud, exp and typ: at+jwt. Before a sensitive action, it reads the live session:

curl --fail-with-body '${DIDIT_AUTH_ISSUER}/session/' -H 'Authorization: Bearer $ACCESS_TOKEN'

A frontend check only controls what you show. The decision to create an account or let someone act comes from a token your server verified, and from a session that is still alive. Live and sandbox are separate issuers with separate keys, so DIDIT_AUTH_ISSUER must match the application you are testing.

Step 7: Know where the check lands and what it costs

The check is a verification session of your application, created with the person's vendor_data. You will find it in your verifications, on the same person as their sign-ins, and it goes to manual review like any other verification. It is billed at that verification's price, which is $0.10 for liveness and $0.33 for full ID.

What the person sees

A person scanning their face during a liveness check
The face scanning step a person sees after your screen sends them to verification_url for a liveness sign-up check.

They leave your screens and take one selfie. With full_id they scan a document first and then take the selfie, which adds document, liveness and face match to the same session. Didit issues the sign-in code only after the check is approved.

The email code entry screen during sign-up
The email code step still applies when the sign-up method is email code and the sign-up level is none.
The ID document section of a session detail in the Didit Business Console
The same check as a verification session in the Business Console, next to the person's sign-ins.

Field and event mapping

What each field or response means for your own screens
Field or responseWhere it appearsWhat your screen does
Sign-up levelVerified identity setup and read-backnone, liveness or full_id. Decides whether a check runs at sign-up
transactionPOST authorize/Carry it through every JSON call; it lasts 10 minutes
verification_required and verification_urlSign-up call responseSend the person to the URL; it is valid 30 minutes from that response
mfa_required with challenge and factorsSign-in call responseCollect a TOTP or recovery code, or use a passkey
mfa_enrollment_required with challenge and uriSign-in call responseEnroll the authenticator with POST mfa/setup/
protection_required with challenge and methodsSign-in call responseRun the bot protection proof your policy asks for
code, redirect_uri, stateSuccessful sign-in responseExchange the code at POST token/ within 60 seconds
access_token, id_token, refresh_token, expires_in, session_idToken responseHold them the way your platform holds secrets, and verify server side
signup_policyConfiguration read-backanyone, invited or allowed_domains

Use your own workflow for the check

Every check runs with Didit default workflow, or with one of your own workflows that you pick for that check.

Test in the sandbox before you switch the level

Work in a sandbox application first. Social sign-in can use Didit test apps for Google, Microsoft, Apple and GitHub on sandbox applications only, so you can finish a setup without your own OAuth credentials. Sandbox testing is free and unlimited on every plan.

  • Expected success: with the sign-up level set to full_id, the sign-up call returns verification_required and a verification_url valid for 30 minutes from that response. After the check is approved, the flow returns code and state, and POST token/ returns an access token with the documented expires_in field and a session_id.
  • Expected with none: after the configured sign-up method completes, no verification step appears. In an email-code sign-up, the email code flow still applies.
  • Check the callback: when the check is approved, Didit issues the code and the redirect to your callback includes code and state. If no code arrives, read the session status; an unapproved check does not issue a code.

Error cases and fixes

Common failures on custom sign-up screens
SymptomWhyFix
A code arrives with no verification stepThe level is none, or the person already had an account before you changed the levelSet the level and test with a new email. A new level never applies to existing accounts
verification_url opens but the check cannot startMore than 30 minutes passed since the sign-up call response that produced the URLRun the sign-up call again for a fresh URL
The person finishes the check and no code reaches your redirect URLThe check is not approved yetDidit issues the code only after approval. Read the session and route reviews through the console
400 invalid_grant at token exchangeCode unknown, used or older than 60 seconds; verifier or redirect URL mismatch; redirect URL no longer registered; person blocked or email no longer verified; the method was turned offRe-check the stored verifier and the registered redirect URL, then start the sign-in again
400 invalid_clientclient_id is not your application IDSend your application ID
400 mfa_requiredThe sign-in did not meet your MFA policyAsk for the second factor before the code exchange
403 on a setup callA scoped key without the authentication scope, a key of another application, a grant limited to didit:verification, or a token from POST /programmatic/loginUse the application's own key with the authentication scope
401 on a setup callNo credential was sentAdd x-api-key or a bearer token
A passkey button fails on a different domain from the sign-in originPasskeys belong to the sign-in origin and the SDK passkey methods work only on pages served from itSend people to the hosted page for passkeys

Turn it off

Set the sign-up level back to none under Authentication, then Verified identity. That change applies to people who sign up from then on.

The cost at both ends

Both routes cost the same per check. Hosted pages need a sign-in button and a callback page. Your own screens need every screen and every intermediate step, including four response branches, the 30-minute URL and the 60-second code exchange. That is the build difference, not the unit price.

For the sign-up check itself, you pay $0.10 for liveness or $0.33 for full ID. Active users are separate from checks: the first 50,000 each month are free, then $0.02 per active user.

A worked example. 20,000 people sign up in a month at full_id. 20,000 x $0.33 = $6,600.00 of check charges at list. On Scale, $0.33 less 10% is $0.297, so 20,000 x $0.297 = $5,940.00. With liveness instead, 20,000 x $0.10 = $2,000.00 at list, and 20,000 x $0.09 = $1,800.00 on Scale, because $0.10 less 10% is $0.09.

Those figures cover the sign-up checks. They do not include active user charges, phone codes or other products, and the plan credit you already hold reduces what you top up.

Sources

Next step: start free in the sandbox at business.didit.me, set the sign-up level to full_id on a sandbox application, and run one sign-up from your own screen. No sales call, and the sandbox is free on every plan.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

What does verification_required mean in Didit sign-up?

It is the answer your own sign-up screen gets when your verification settings require a liveness or ID check before an account exists. The response carries a verification_url, and your job is to send the person there. It is not an error and not a finished sign-in.

How long is verification_url valid?

30 minutes from the sign-up call response that produced it. After that the person has to start the sign-up again to receive a fresh URL. Treat it as short-lived state and do not cache it for later use.

When does Didit issue the sign-in code?

Only after the check is approved. A person who has not passed the check never receives a code, so no account is created and no tokens are issued for that attempt.

Does changing the sign-up level affect existing accounts?

No. A new level applies to people who sign up from then on, never to existing accounts. For people who signed up before the change, use the step-up rules such as payout, device, bank and contact instead.

What does a sign-up verification cost per check?

Each check is a verification session billed at that verification's price. Liveness is $0.10 and full ID is $0.33. A full ID check is the $0.33 bundle: ID document $0.15, passive liveness $0.10, face match $0.05 and device and IP analysis $0.03.

Can I use my own workflow for the sign-up check?

Yes. Each check can run on Didit default workflow or on one of your own workflows that you pick for that check. A new sign-up level applies to people who sign up from then on, never to existing accounts.

Do hosted pages and my own screens cost different amounts?

No. The check is priced the same either way, $0.10 for liveness and $0.33 for full ID. What changes is what you build: hosted pages need a sign-in button and a callback page, while your own screens handle verification_required, mfa_required, mfa_enrollment_required and protection_required yourself.

What happens if the person fails the check at sign-up?

No sign-in code is issued, so no account is created. The attempt still exists as a verification session in your verifications, and it goes to manual review like any other verification.

Do passkeys work on my own sign-up screens?

Only on pages served from your application's sign-in origin, because passkeys belong to that origin. On your own screens on another domain, send people to the hosted page for passkeys. Magic links run on the hosted pages only as well.

How do I turn sign-up verification off?

Set the sign-up level back to none under Authentication, then Verified identity. That applies to people who sign up from then on.

Can an AI assistant set this up through MCP?

Yes. An agent connected to the Didit MCP server at https://mcp.didit.me/mcp uses the grant its owner approved with didit:management, so it can change the verified identity setup and read it back. Authentication is new, so have the agent work in a sandbox application first. The setup notes are at didit.me/developers/mcp.

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.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • 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.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • 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.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.