Skip to main content

Optimizing Developer UX for Biometric Fallback Workflows

Enhance developer experience by designing robust biometric fallback workflows. This involves anticipating failures, providing clear error handling, and offering alternative paths for user verification.

Optimizing Developer UX for Biometric Fallback Workflows

Contents

In this guide

Jump to the part you need.

Clear Fallback StrategiesImplement well-defined fallback mechanisms for biometric verification failures to maintain a smooth user journey and prevent abandonment.

Granular Error HandlingProvide specific and actionable error messages and codes to developers, enabling efficient debugging and a better understanding of verification outcomes.

Seamless User RedirectionDesign a user experience that guides individuals through alternative verification methods when biometrics fail, minimizing friction and maximizing conversion.

Didit's Orchestrated WorkflowsLeverage Didit's no-code visual builder and clean APIs to easily configure, manage, and automate complex biometric and fallback verification sequences.

The Importance of Robust Biometric Fallback Workflows

Biometric authentication offers unparalleled security and convenience, but it's not foolproof. Factors like poor lighting, camera quality, user error, or even legitimate facial changes can lead to failed biometric checks. For developers, anticipating these scenarios and building robust fallback workflows is crucial for maintaining a positive user experience (UX) and ensuring high conversion rates. A poorly designed fallback can lead to user frustration, abandonment, and increased support costs. Optimizing developer UX in this context means providing tools and processes that make it easy to implement and manage these complex, multi-step verification journeys.

Without effective fallbacks, a single biometric failure could prematurely end a user's onboarding or re-authentication attempt. This is where the concept of 'orchestrated workflows' becomes vital. Instead of a dead end, users are seamlessly guided to an alternative verification method, such as ID document verification, phone verification, or even a manual review process. The goal is to ensure that legitimate users can always complete their verification, even when the primary biometric method encounters an issue.

Anticipating Biometric Failures and Designing Alternatives

The first step in optimizing developer UX for fallbacks is to understand the common reasons for biometric failure. Didit's Biometric Authentication Report provides granular detail, including liveness scores, face match similarity, and specific warnings like LOW_LIVENESS_SCORE, NO_FACE_DETECTED, or LIVENESS_FACE_ATTACK. Each of these warnings necessitates a different type of fallback. For instance, a LOW_LIVENESS_SCORE might trigger a retry with clearer instructions, while a LIVENESS_FACE_ATTACK might immediately flag the session for manual review or decline outright.

Developers need to design alternative verification paths that are appropriate for the severity and nature of the biometric failure. These alternatives could include:

  • ID Verification: Prompting the user to scan a government-issued ID using Didit's ID Verification (OCR, MRZ, barcodes) capabilities.
  • Phone & Email Verification: Using Didit's Phone & Email Verification to confirm contact details.
  • Proof of Address: Requesting a document for Proof of Address if the initial biometric attempt was part of a broader KYC process.
  • Manual Review: Escalating to a human reviewer for complex cases, often after a series of automated fallbacks.

The key is to make these transitions smooth and intuitive for the end-user, minimizing friction and re-requesting information only when necessary.

Enhancing Developer Experience with Granular Control and APIs

For developers, a great UX means having clear documentation, clean APIs, and configurable settings. When integrating biometric solutions, developers need to easily access detailed results, understand why a biometric check failed, and programmatically trigger appropriate fallbacks. Didit's API responses for biometric authentication provide comprehensive data, including the overall status ('Approved', 'Declined', 'Not Finished'), and specific details for liveness and face_match components, complete with scores and warnings. This level of detail empowers developers to build intelligent, conditional logic.

Didit's approach to Orchestrated Workflows significantly enhances developer UX. Instead of hardcoding complex decision trees, developers can define entire verification journeys using a no-code visual builder. This includes setting up conditional steps based on biometric results, such as routing users to ID verification if liveness fails, or to AML Screening if initial checks are suspicious. The API then simply initiates a workflow, and Didit handles the multi-step user experience, state management, and conditional logic seamlessly. This modular architecture means developers can combine identity checks like Passive & Active Liveness, 1:1 Face Match, and then integrate other services like AML Screening & Monitoring or NFC Verification (ePassport/eID) as fallbacks, all within a single, configurable workflow.

Optimizing User Journeys with Intelligent Retries and Clear Guidance

Beyond simply offering an alternative, optimizing the user journey involves providing intelligent retries and clear guidance. If a biometric check fails due to a correctable issue (e.g., poor lighting), the system should prompt the user to try again with specific instructions. Didit's workflows can be configured with max_retry_attempts and retry_window_days, allowing businesses to define how many times a user can attempt a step and over what period. This prevents endless loops of failure while giving users a fair chance to succeed.

Furthermore, developers need to ensure that the user interface clearly communicates what went wrong and what the next steps are. Generic error messages are frustrating. Instead, leverage the detailed warnings from Didit's biometric reports to provide specific feedback, such as "We couldn't detect your face. Please ensure your face is fully in the frame and well-lit." When a fallback is necessary, the transition should be smooth, explaining why a different method is being requested, rather than simply redirecting the user without context. This transparency builds trust and reduces user anxiety, improving the overall conversion rate for identity verification.

How Didit Helps

Didit is engineered to simplify the complexity of designing and implementing robust biometric fallback workflows. Our AI-native platform provides a modular architecture that allows developers to easily compose verification processes. With Orchestrated Workflows, you can visually build multi-step identity verification journeys, integrating our Passive & Active Liveness and 1:1 Face Match & Face Search capabilities alongside other verification methods like ID Verification, Phone & Email Verification, and AML Screening & Monitoring. This means you can define conditional logic that automatically triggers alternative verification paths when biometrics fail, without writing extensive custom code. Didit’s detailed API responses, like those from our Biometric Authentication Report, provide the granular data necessary for intelligent decision-making and precise error handling. We offer Core KYC, no setup fees, and a developer-first approach with instant sandboxes and clean APIs, empowering you to build flexible and resilient identity solutions.

Ready to Get Started?

Ready to see Didit in action? Get a free demo today.

Start verifying identities for free with Didit's free tier.

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

Alejandro Rosas

Co-founder and CTO

Alejandro Rosas

Alejandro Rosas

Co-founder and CTO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

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.