Run Azure AI Face liveness detection using a server-created session and the Face SDK to confirm a live, present user before biometric identity checks

domain: learn.microsoft.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. From your backend, call the Face liveness session-create endpoint to obtain a sessionId and short-lived client authorization token
  2. Pass the session token to the Face UI SDK (iOS, Android, or Web) embedded in the client app to launch the guided liveness capture
  3. Let the SDK drive the camera flow (passive or passive-with-challenge) and submit captured frames to the Face service for classification
  4. From the backend, retrieve the liveness session result using the sessionId and confirm the outcome before proceeding to face match
  5. Combine the liveness result with a separate face-match/verify call against a reference photo (e.g., an ID document image) for full identity confirmation
  6. Discard or avoid persisting session images once the session concludes, since Azure does not retain liveness capture media

Known gotchas

Related routes

Implement AWS Rekognition Face Liveness detection to confirm a live selfie capture during identity onboarding
docs.aws.amazon.com · 5 steps · unrated
Apply document liveness and selfie best practices for IDV integrations
developer.apple.com/design/human-interface-guidelines/identity-verification · 6 steps · unrated
Integrate AU10TIX for document authentication and selfie liveness verification
identity-general · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans