Skip to main content

Enhance User Flow: Didit's iFrame & Post-Message API Customization

Discover how to seamlessly integrate Didit's identity verification into your application using iFrames and the powerful Post-Message API. Customize branding, orchestrate workflows, and handle real-time events for a superior user.

Enhance User Flow: Didit's iFrame & Post-Message API Customization

Contents

In this guide

Jump to the part you need.

Seamless Integration Integrate Didit's identity verification directly into your application's UI using iFrames, maintaining a consistent user experience without redirects.

Real-time Communication Utilize the Post-Message API to enable two-way communication between your application and the Didit iFrame, allowing for dynamic event handling and workflow orchestration.

Full Customization Leverage Didit's white-label capabilities to brand the iFrame with your company's colors, logos, and fonts, ensuring a native look and feel.

Developer-First Approach Didit provides clean APIs and extensive documentation for easy implementation, alongside a no-code console for workflow design, making advanced customization accessible.

Integrating Didit's Verification Flow with iFrames

In today's digital landscape, a smooth and integrated user experience is paramount. When it comes to identity verification, forcing users to navigate away from your application to a third-party site can introduce friction and increase drop-off rates. This is where embedding verification flows directly into your application using iFrames becomes invaluable. Didit, an AI-native identity platform, offers robust support for iFrame integration, allowing businesses to maintain full control over the user journey while leveraging Didit's enterprise-grade identity verification capabilities.

By embedding Didit's verification links within an iFrame, your users can complete essential steps like ID Verification, Passive & Active Liveness checks, and Proof of Address submissions without ever leaving your application. This not only enhances the user experience but also reinforces your brand's presence throughout the entire onboarding or transaction process. Didit's modular architecture ensures that you can select and combine the exact verification steps required for your specific use case, all delivered within a customizable iFrame.

Unlocking Advanced Interactions with the Post-Message API

While iFrames provide visual integration, the true power of an embedded verification experience comes from dynamic, real-time communication between your host application and the iFrame. This is where the Post-Message API shines. The Post-Message API allows for secure, cross-origin communication between windows (and iFrames), enabling your application to listen for events from the Didit iFrame and send messages back.

Imagine a scenario where your application needs to know when a user has successfully completed a specific verification step, such as an ID document scan or a liveness check. With the Post-Message API, the Didit iFrame can dispatch events that your application can capture. This enables you to:

  • Display custom loading indicators or progress bars outside the iFrame.
  • Trigger follow-up actions in your application based on verification outcomes.
  • Provide real-time feedback to the user, guiding them through the process.
  • Seamlessly transition the user to the next step in your application upon completion of the verification flow.

This level of interactivity transforms a static embedded component into a dynamic and integral part of your application's user flow, significantly improving engagement and conversion rates.

Branding the Embedded Experience: White-Labeling Didit

Beyond functional integration, maintaining brand consistency is crucial. Didit understands this need and offers comprehensive white-label capabilities for its verification flows, including those embedded via iFrame. With Didit's White Label feature, you can fully customize the look and feel of the verification interface to align perfectly with your brand identity.

Through the Didit Business Console, you can adjust:

  • Colors: Match your brand's primary and secondary color palettes for buttons, text, backgrounds, and more.
  • Typography: Select fonts that resonate with your brand's aesthetic.
  • Logos: Upload your company's square and rectangular logos to be prominently displayed.
  • Layout: Fine-tune elements like border radius for panels and buttons.
  • Custom Domain: For the ultimate white-label experience, host the verification flow on your own subdomain instead of verify.didit.me.

This means your users will experience a verification process that feels completely native to your application, fostering trust and reducing any perception of a third-party hand-off. The customization is applied per workflow, giving you granular control over which verification journeys receive specific branding.

Orchestrating Complex Workflows with No-Code Configurability

Didit's core strength lies in its ability to orchestrate complex identity verification workflows with both no-code ease and low-code flexibility. Whether you're integrating via iFrame or direct API calls, the underlying workflow engine remains the same. In the Didit Business Console, you can design workflows that combine various checks, such as ID Verification (leveraging OCR, MRZ, and barcode decoding), Passive & Active Liveness for fraud prevention, 1:1 Face Match, AML Screening & Monitoring, and Proof of Address.

Each workflow is assigned a unique workflow_id. When generating a verification link to embed in your iFrame, you specify which workflow to use. This allows you to create different verification journeys for different user segments or use cases – for example, a basic KYC flow for one type of user and an enhanced due diligence process for another. The no-code editor simplifies the creation of these sophisticated sequences, while the developer-first approach ensures that advanced integrations and programmatic control are always available.

How Didit Helps

Didit is engineered to provide a flexible, powerful, and developer-friendly identity verification solution. Our modular architecture allows you to pick and choose the exact identity primitives you need, from ID Verification and Passive & Active Liveness to AML Screening and Age Estimation, and orchestrate them into seamless workflows. Integrating these workflows into your application via iFrames and enhancing interactions with the Post-Message API is straightforward, thanks to our clean APIs and comprehensive documentation.

We empower businesses to maintain a fully branded experience through extensive white-labeling options, ensuring that every touchpoint with your users reinforces your brand. With Didit, you can launch secure and compliant verification processes rapidly, often with no frontend development required for the verification flow itself. Our AI-native approach ensures high accuracy and fraud detection capabilities, while our Core KYC and transparent pay-per-successful-check pricing model, with no setup fees, makes enterprise-grade identity verification accessible to businesses of all sizes.

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.