Skip to main content

Where the decision comes from

  • onResult says the run is over. Use it to move your UI on.
  • Your backend gets the decision, from webhooks or Retrieve session. Grant access there.
Two reasons the app can’t be the source of truth:
  1. Code on the user’s device can be modified by the user.
  2. The decision can come after the run. Workflows without an automatic decision, and sessions sent to manual review, are decided later in the Admin Console.

WorkflowRunResult

SessionStatus

The SDK uses the same status words as the API and webhooks. SessionStatus is an open set: compare against the constants and keep a default branch for values a newer server may send.
The SDK’s closing screen looks the same whatever the decision. Do the same on your own screens unless your product needs to tell users the outcome, and then take it from your backend.

In the Admin Console

Every run creates one session you can open in the Admin Console, with the photos, the extracted fields, face match and liveness results, and the decision reasons. See Manual review.