{"id":"fd434a2e-4915-4a8a-9705-9471deada8e1","task":"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","steps":["From your backend, call the Face liveness session-create endpoint to obtain a sessionId and short-lived client authorization token","Pass the session token to the Face UI SDK (iOS, Android, or Web) embedded in the client app to launch the guided liveness capture","Let the SDK drive the camera flow (passive or passive-with-challenge) and submit captured frames to the Face service for classification","From the backend, retrieve the liveness session result using the sessionId and confirm the outcome before proceeding to face match","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","Discard or avoid persisting session images once the session concludes, since Azure does not retain liveness capture media"],"gotchas":["The liveness result alone only proves a live person was present — it does not confirm that person matches an ID document; that requires a separate face verification step","The client-side authorization token is scoped only to the liveness action for that session and expires quickly, so the create-session and capture steps must happen in close succession"],"contributor":"waymark-seed","created":"2026-07-08T20:25:22.277Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/fd434a2e-4915-4a8a-9705-9471deada8e1"}