Online Face Verification: Selfie Matching vs. Face Login

Adding a face check to your website? Use ID Match to compare a live selfie with the photo on an ID. For someone signing back into an existing account, use face recognition login instead.

Connect to the FACEIO Console to create applications, manage APIs, and configure webhooks for enrollment, authentication, and Facial ID events.

Face Verification vs. Authentication: Understanding the Difference

What should the camera capture be compared with: the portrait on a document or a face already enrolled in your application?

Consider a customer opening an account and the same customer signing in a week later. At onboarding, the ID portrait is the reference. At sign-in, the reference comes from enrollment in your application. A selfie-to-ID match does not enroll the customer for future logins.

Authentication

"Is this the person who enrolled?"

Works by matching a live capture against the application's enrolled face index through the configured facial recognition engine. Your app receives a Facial ID and authentication result, not raw face material. See face recognition login flows and the Facial ID reference.

Best for: Returning user login

Verification

"Does the selfie match the portrait on this ID?"

With ID Match, the customer shows a photo ID and takes a live selfie. A match tells you the two faces look alike, not whether the document is genuine. For integration options, see the face verification API guide.

Best for: Onboarding and sensitive actions

Compliance Context: A face-match result can be one signal in a customer-managed KYC ↗ workflow. FACEIO does not authenticate documents, perform KYC or AML checks, or determine compliance. Use the Developer Guides for implementation details and Privacy Best Practices.

How the Verification Flow Works

Your website opens the ID Match widget with idmatch(). The customer stays in the browser for capture; your application decides what happens after the comparison.

1 Capture

Ask for camera access so the customer can show their ID and take a live selfie. A photo selected from a gallery is not a live capture.

2 Verify

ID Match compares the selfie with the portrait on that document. Optionally, it can extract document fields so the customer does not have to retype them.

3 Decision

For example, if the portrait is obscured, offer a retry or route the request to a reviewer. A match alone should not open an account or restore access.

Transient In-Memory Processing

Verification media is processed in memory and removed after the result is generated. Your application remains responsible for its own retention policy, consent records, and audit trail. For request and response schemas, consult the Developer Guides.

Fraud Threats You Must Defend Against

Face matching measures resemblance. Liveness checks address a different question: is the camera seeing a person now?

Replay Attacks

A recording can show the right face even though the person is not present for this request.

Screen Presentation

A camera can capture the portrait displayed on another screen instead of the person holding the device.

Deepfakes & AI

A manipulated video feed can imitate someone else. Visual resemblance alone is not evidence that the person agreed to this check.

Each attack exploits the same gap: a verification system that matches faces without checking that the capture is live and physically present.

The FACEIO Approach

FACEIO evaluates three parts of a browser-based verification flow: live-presence indicators, presentation-attack indicators, and the face comparison. These are technical signals for your backend policy, not a guarantee that every spoofing attempt will be detected.

1. Active Liveness Detection

Evaluates whether the input shows live-presence indicators during the request and helps identify photographs, pre-recorded videos, and static images before matching.

2. Anti-Spoofing Signals

Analyzes the media feed for presentation attacks, synthetic content, and virtual camera abuse used to impersonate another person during the capture step.

3. Face Match Verification

ID Match compares the selfie with the ID portrait. Use the result alongside your other checks; it is not a verdict on the authenticity of the ID.

For security architecture details and threat model documentation, review Security Best Practices, Privacy Best Practices, and the Trust Center.

Where Verification Fits in Your Workflows

Online face verification fits workflows that need a live face compared with a separate reference image rather than an enrolled returning-user index. Common deployment contexts include:

  • User Onboarding and KYC

    Compare a live selfie with the portrait on an ID during account creation. This result can be one signal in your onboarding, AML, or KYC workflow, while your application remains responsible for document authenticity and identity decisions. See fintech and eKYC solution guidance or use ID Match when you need document scanning and selfie matching in one widget.

  • Account Recovery

    If you request a new selfie-to-ID check during recovery, first establish how the ID relates to the original account. A stranger can present a genuine ID bearing their own portrait.

  • Sensitive Action Gating

    If you need to confirm that the signed-in customer is still present, request fresh authentication against their existing enrollment rather than asking for their ID again.

Before you deploy: Decide what your team will do when a customer cannot use the camera, the ID is unreadable, or the faces do not match.

Add Selfie-to-ID Matching to Your Website

Create an application in the FACEIO Console, then follow the ID Match guide to open the widget from your onboarding form.

Browser Capture Flow
Liveness Checks
Optional ID Field Extraction