Prompt

How do I set up selfie match and liveness detection in onboarding?

Legal / Compliance & Regulatory1 observationLast seen Oct 28, 2026

Latest observation

Oct 28, 2026OpenAI APIWeb search: off

To set up selfie match and liveness detection in onboarding, the usual flow is:

  1. Collect an ID document during onboarding.
  2. Capture a selfie from the user.
  3. Run liveness detection on the selfie to confirm it’s a real person.
  4. Compare the selfie to the ID photo for face match.
  5. Approve / reject / manual review based on your risk rules.

Typical onboarding flow

1) Start an onboarding session

Create a session for the user so all checks are tied together.

2) Request document capture

Ask the user to scan or upload an identity document.

3) Request selfie capture with liveness

Prompt the user to take a live selfie.
Depending on your provider, this may be:

  • a single selfie with passive liveness, or
  • a guided video/selfie challenge with active liveness

4) Run selfie match

Use the document photo and live selfie to generate a face similarity result.

5) Make a decision

Use the provider’s result and your own threshold rules:

  • Pass if liveness passes and face match score is above threshold
  • Fail if liveness fails
  • Review if confidence is borderline or signals conflict

What you typically need to configure

  • SDK / API keys for your identity provider
  • Mobile/web camera permissions
  • Onboarding session creation
  • Document verification step
  • Face capture step
  • Liveness mode:
    • passive
    • active
  • Match threshold
  • Fallback/manual review workflow
  • Webhooks or callbacks for async results

Example implementation pattern

Frontend

  • Show document capture screen
  • After document upload, open selfie/liveness capture
  • Send results to backend

Backend

  • Create verification session
  • Store document and selfie references
  • Call provider APIs for:
    • document verification
    • liveness check
    • face match
  • Persist final decision

Important best practices

  • Get explicit user consent
  • Follow privacy / biometric data laws in your region
  • Don’t store biometric data longer than necessary
  • Use liveness before match to reduce fraud
  • Add manual review for low-confidence cases
  • Tune thresholds based on false accept / false reject rates

If you’re using a provider SDK

Most vendors expose something like:

  • createVerificationSession()
  • startDocumentCapture()
  • startSelfieLiveness()
  • getVerificationResult()

If you tell me which platform or vendor you’re using (e.g. iOS/Android/Web, Onfido, Persona, Jumio, IDnow, Veriff, etc.), I can give you the exact setup steps and sample code.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.