Skip to main content

Authentication (v2)

Preview

BIOMETRIC_VERIFICATION:v2 is in preview. The Verification datablock implementation is not yet finalized and may change before general availability. Use BIOMETRIC_VERIFICATION:v1 for production flows.

Authenticates identity using facial recognition

Used when strong, real‑time identity confirmation is required. The user completes a quick face scan, and the system ensures they are a real person and match the enrolled face, helping prevent impersonation, spoofing, and deepfakes.


Key features

  • Liveness detection: Confirms the user is physically present and not a spoof or replay attack.
  • Face comparison: Matches the live capture against the enrolled biometric template.
  • Evidence preservation: On success, the Keyless transaction JWT is stored in the vault and referenced in the Verification datablock for audit purposes.

This step requires previous enrollment via the Biometric Enrollment step and uses the captured biometric data to authenticate the user.


Configuration

This step requires no configuration options. It uses the Third Party configuration parameters defined on the infrastructure level.


Input data blocks

Data blockMandatoryDescription
UserReferenceYesContains the unique subject identifier (subjectId) necessary to identify the user in the Keyless system.

Routes

RouteDescription
verifiedBiometric authentication succeeded. The user has been verified.
rejectedBiometric authentication failed. Biometric mismatch or capture error.

Output data blocks

RouteData blocks producedDescription
verifiedVerificationAuthentication succeeded. Contains verification methods, evidence (JWT stored in vault), provider (keyless), trust framework (io.idnow.biometric), and assurance level (substantial).
rejectedVerificationAuthentication failed. Status is rejected; methods array contains checks with failed outcome; no evidence or trust framework populated.

Verification datablock structure

The Verification datablock contains:

  • status: verified | rejected | aborted | error
  • methods[0].type: biometric
  • methods[0].checks: Array of performed checks:
    • livenessDetection: liveness check result (passed | failed)
    • faceComparison: face comparison against enrolled template (passed | failed)
    • On success: both checks show passed
    • On rejection: both checks show failed
    • On aborted/error: empty array
  • methods[0].evidence: On success: [{ type: 'transactionJwt', ref: { $ref: 'vault', $id: '...' } }] — JWT stored as binary vault entry; on failure: empty array
  • provider: keyless
  • trustFramework: io.idnow.biometric (populated on success only; null otherwise)
  • assuranceLevel: substantial (populated on success only; null otherwise)
  • verifiedAt: ISO 8601 timestamp
  • verificationProcessId: Keyless transaction ID