Skip to main content

Boost Identity UX with Feature Flags

Learn how feature flags enhance identity UX, enable A/B testing, and facilitate dynamic risk assessment for improved conversion and security. Discover how Didit leverages this technology for a seamless user experience.

Boost Identity UX with Feature Flags

Contents

In this guide

Jump to the part you need.

Boost Identity UX with Feature Flags

In the fast-paced world of online identity verification, delivering a smooth and secure user experience (UX) is paramount. However, striking the right balance between robust security and frictionless access can be a challenge. This is where feature flags come into play. Feature flags, also known as feature toggles, are a powerful technique that allows developers to dynamically enable or disable features without deploying new code. This capability is especially valuable in the context of identity UX, enabling A/B testing, dynamic risk assessment, and progressive rollout of new verification methods. This article explores how feature flags revolutionize identity verification, focusing on practical applications and technical considerations.

Key Takeaway 1 Feature flags enable rapid iteration on identity workflows without requiring full deployments, reducing risk and accelerating innovation.

Key Takeaway 2 A/B testing with feature flags allows data-driven optimization of identity UX, maximizing conversion rates and minimizing user friction.

Key Takeaway 3 Dynamic risk assessment, powered by feature flags, allows for adaptive verification flows based on real-time risk signals, improving both security and user experience.

Key Takeaway 4 Progressive enhancement using feature flags allows extending identity verification to more users over time, reducing the impact of bugs or issues.

What are Feature Flags and How Do They Work?

At their core, feature flags are conditional statements within your code. Instead of directly embedding a feature, you wrap it within a flag check. This check evaluates a configuration value (the flag) that determines whether the feature is active for a given user or session. A simple example in pseudocode:

if (featureFlag.isEnabled("new_liveness_flow")) {
  // Execute the new liveness detection flow
} else {
  // Execute the existing liveness detection flow
}

The configuration value can be stored in various places: a configuration file, a database, or a dedicated feature flag management service. The key is that it can be changed without redeploying the application. Feature flag management services typically provide a dashboard for creating, managing, and targeting flags. They often include advanced capabilities like user segmentation, A/B testing integration, and audit logging.

Improving Identity UX with A/B Testing

A/B testing is crucial for optimizing any user flow, and identity verification is no exception. Feature flags make A/B testing significantly easier and faster. Instead of deploying separate code branches for each variation, you can use flags to serve different versions of your verification flow to different user segments. For example, you might want to test a new, simplified ID document capture flow against the existing one. You can create a feature flag that directs 50% of users to the new flow and 50% to the old one. By tracking key metrics like completion rate, time to verification, and fraud rate, you can determine which flow performs better.
Didit’s internal A/B tests on a new selfie capture UI using feature flags showed a 12% increase in completion rates and a 5% reduction in user-reported errors. This data-driven approach helped us quickly iterate and refine the UX for optimal performance.

Dynamic Risk Assessment with Feature Flags

Traditional identity verification often employs a one-size-fits-all approach. However, the risk associated with each user varies depending on factors like location, transaction amount, and device characteristics. Dynamic risk assessment uses real-time data to tailor the verification process to the specific risk profile of each user. Feature flags are essential for implementing dynamic risk assessment. You can create flags that enable or disable specific verification steps based on risk scores. For instance, a user from a low-risk country with a strong device reputation might only require passive liveness detection, while a user from a high-risk country with a suspicious IP address might be required to complete a full KYC process, including ID verification and active liveness.
Didit utilizes feature flags to adjust the stringency of identity checks based on a real-time risk score calculated by our fraud engine. This adaptive approach reduces friction for legitimate users while maintaining a high level of security.

Progressive Enhancement and Rollout

Introducing new identity verification methods, like biometric authentication or advanced document validation, can be risky. A bug in the new code could disrupt the entire verification process. Progressive enhancement, enabled by feature flags, allows you to roll out new features to a small subset of users first, monitor their performance, and gradually increase the rollout to a wider audience. This minimizes the impact of potential issues and allows you to gather valuable feedback before a full launch. For example, you could initially roll out a new liveness detection algorithm to 1% of users, then 10%, then 50%, and finally 100%, monitoring key metrics at each stage.

How Didit Helps

Didit provides a robust platform for implementing feature flags in your identity verification workflows. Our visual Workflow Builder allows you to easily create and manage feature flags without writing code. You can target flags based on various criteria, including country, device type, risk score, and custom attributes. Didit's comprehensive analytics dashboard provides real-time insights into the performance of your feature flags, enabling data-driven optimization. Our APIs allow for seamless integration with your existing systems, making it easy to leverage the power of feature flags in your identity verification process.
We also offer the ability to manage flag lifecycle - from creation to sunset - ensuring you're not running stale flags that impact performance.

Ready to Get Started?

Feature flags are a powerful tool for optimizing identity UX, enhancing security, and accelerating innovation. By embracing feature flags, you can create a more seamless and secure verification experience for your users. Explore how Didit can help you implement feature flags and transform your identity verification process.

Start building with Didit today!

View our technical documentation

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

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.