Optimizing Liveness Detection Workflows with Didit WebView
Discover how to implement robust liveness detection workflows using Didit's WebView integration, ensuring seamless user experience while preventing spoofing.

Seamless IntegrationDidit's WebView integration allows for straightforward deployment of advanced liveness detection within existing mobile applications, minimizing development overhead.
Robust Fraud PreventionLeverage Didit's Passive & Active Liveness detection to effectively combat deepfakes and spoofing attempts, safeguarding user onboarding and transactions.
Configurable Risk ManagementCustomize liveness thresholds and warning parameters to align with specific business risk appetites, ensuring optimal balance between security and user experience.
AI-Native AdvantageDidit's AI-native platform provides highly accurate and continuously evolving liveness detection, offering superior protection against emerging fraud techniques with Free Core KYC and no setup fees.
In today's digital landscape, securing online identities against sophisticated fraud attempts is paramount. Liveness detection, a critical component of identity verification, ensures that the person interacting with a system is a real, live individual and not a spoofing attempt using photos, videos, or even deepfakes. While native SDKs offer the most integrated and optimized experience, WebView integration remains a vital solution for platforms without dedicated native SDKs or for businesses seeking rapid deployment. Didit provides a powerful and flexible WebView integration for its Liveness Detection capabilities, allowing businesses to fortify their mobile applications against identity fraud.
Understanding Liveness Detection in WebView Environments
Integrating liveness detection within a WebView requires careful consideration to ensure both security and a smooth user experience. Didit's approach focuses on providing a robust, yet straightforward, integration path. The core process involves your backend initiating a verification session with Didit, which returns a unique verification URL. This URL is then loaded into a WebView within your mobile application. The user completes the liveness check within this WebView, and upon successful completion, the WebView navigates to a predefined callback URL, signaling your application to retrieve the full results from your backend.
Didit's Liveness Detection employs both Passive & Active Liveness techniques to provide comprehensive fraud prevention. Passive Liveness assesses the user's liveness without explicit user interaction, analyzing subtle cues from the video stream. Active Liveness, on the other hand, prompts the user to perform simple actions (like turning their head or blinking) to confirm their presence. This dual approach significantly enhances the accuracy and resilience against various spoofing methods, including sophisticated deepfakes.
Key Components of a Didit Liveness Detection Report
After a user completes the liveness check, Didit provides a detailed Liveness Detection report, accessible via a JSON object. Understanding this report is crucial for effective risk assessment and decision-making. Key sections include:
- Liveness Status: Indicates the overall verification outcome (e.g., 'Approved', 'Declined', 'In Review').
- Method Details: Specifies whether 'ACTIVE_3D', 'FLASHING', or 'PASSIVE' liveness detection was employed.
- Score: A confidence score reflecting the likelihood of real liveness.
- Media References: Temporary URLs to captured images and videos, useful for manual review if required.
- Risk Assessment: Crucial warnings and potential security issues detected during the process. This might include flags like
LIVENESS_FACE_ATTACK, indicating a spoofing attempt, orLOW_LIVENESS_SCORE. - Age Estimation: When configured, provides an privacy-preserving age estimation in years for the target individual. This is particularly useful for applications requiring age verification.
This comprehensive data empowers businesses to make informed decisions, whether to automatically approve, decline, or flag a verification for manual review. Didit's structured identity data ensures that all necessary information is readily available for further processing or auditing.
Configuring Liveness Detection Warnings and Thresholds
Didit's Liveness Detection isn't a one-size-fits-all solution; it offers configurable settings to match your specific risk profile. This flexibility is vital for balancing security with user experience. Businesses can define how the system handles various verification issues:
- Low Liveness Score: You can set configurable review and decline thresholds. For instance, a score below 70 might trigger an 'In Review' status, while a score below 50 could lead to an automatic 'Declined'.
- Duplicate Face: Didit can detect if the face matches an existing entry. You can configure actions (Decline, Review, or Approve) for instances of
POSSIBLE_DUPLICATED_FACEorDUPLICATED_FACE. - Multiple Faces Detected: In passive liveness scenarios, if multiple faces are detected, you can set the system to Decline, Review, or Approve the session. Didit always uses the largest face for scoring.
- Face Quality and Luminance: For passive liveness, thresholds can be set for low or high face quality and luminance, triggering reviews or declines to ensure optimal biometric data capture.
Certain conditions, however, always result in an automatic decline, regardless of configuration, due to their high-risk nature. These include NO_FACE_DETECTED, LIVENESS_FACE_ATTACK (a confirmed spoofing attempt), and FACE_IN_BLOCKLIST (if the face matches an entry in your blocklist). This robust, AI-native fraud prevention mechanism is a cornerstone of Didit's offering.
How Didit Helps
Didit is the AI-native, developer-first identity platform designed to simplify and secure identity verification. For businesses utilizing WebView integration for liveness detection, Didit offers unparalleled advantages:
- Modular and Flexible: Didit's modular architecture allows you to plug-and-play Liveness Detection seamlessly into your existing WebView flows. Our clean APIs and comprehensive documentation make integration straightforward, even for complex workflows.
- Advanced Liveness Detection: With both Passive & Active Liveness capabilities, Didit effectively combats advanced spoofing techniques, including deepfakes, ensuring that only genuine users gain access. Our AI-native approach means our systems are constantly learning and adapting to new fraud methods.
- Configurable Workflows: Our no-code Business Console allows you to orchestrate risk and automate trust by customizing liveness thresholds, warning conditions, and review processes without writing a single line of code. This flexibility ensures your verification process aligns perfectly with your business needs and regulatory requirements.
- Free Core KYC: Didit offers Free Core KYC, making robust identity verification accessible to businesses of all sizes. Combined with our pay-per-successful-check model and no setup fees, you get enterprise-grade security without prohibitive costs.
- Developer-First Experience: With an instant sandbox and public documentation, developers can quickly integrate and test Didit's solutions, including our Liveness Detection via WebView, streamlining the development cycle.
Didit ensures that your WebView-based liveness verification is not just a checkbox but a powerful, intelligent defense against identity fraud, providing detailed insights and actionable data for every verification attempt.
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.