Age policy and verification modes
Choose your verification mode and challenge age before you go live. This page
explains exactly what a verified result tells you, so you can match the
settings to the age requirement you need to meet.
What a verified result means
A session is verified when one of these is true:
| Path | When it is used | What it establishes |
|---|---|---|
| Selfie age estimate | L1 only | A live person whose estimated age is at or above your challenge age. |
| ID check | L1 when the estimate is below the challenge age, and every L2 session | A live person whose ID shows they are 18 or older, whose document passed authenticity checks and, unless face matching is switched off for the session, whose face matches the ID photo. |
The challenge age applies only to the selfie estimate. When a user passes with
an ID, SafePassage checks that the date of birth shows 18 or older,
whatever challenge age you set. An ID-based verified result does not
establish that the user meets a higher age such as 21.
If you must establish an age above 18, a verified result alone is not
sufficient evidence today. Contact support@safepassageapp.com before relying on
SafePassage for that requirement.
Why the challenge age is at least 25
Age estimation from a face has a margin of error. Setting the challenge age above the legal age you need (for example, 25 for an 18+ requirement) means users whose estimate is close to the limit are asked for an ID instead of being passed on the estimate. The minimum challenge age is 25.
A higher challenge age sends more users to the ID check. A lower one (down to 25) lets more adults pass on the selfie alone.
L1: selfie estimate, with an ID check when needed
- Camera permission and liveness check.
- SafePassage estimates the user's age.
- Estimate at or above the challenge age:
verified, no ID needed. - Estimate below the challenge age: the user is asked for an ID. The ID check (18+, document checks, face match) decides the result.
Use L1 when the rules that apply to you allow age estimation and you want most adults to finish without an ID.
L2: ID check every time
- Camera permission and liveness check.
- The user always provides an ID. No age estimate is made, so the challenge age has no effect on the result.
- The ID check (18+, document checks, face match) decides the result.
Use L2 when the rules that apply to you require a document check for every user, or when you are unsure.
Face matching
Face matching compares the live selfie with the ID photo. It is on by default.
Where comparing a selfie with an ID photo is not permitted, your server can
create a session with faceMatchEnabled: false. Only the face comparison is
skipped; the liveness, document authenticity and 18+ checks still run.
Publishable-key (browser) sessions always use face matching.
Where the settings come from
| Setting | Account default | Per-session override |
|---|---|---|
| Verification mode | Dashboard → Configuration → Verification. New accounts start on L2. | Server-created sessions only: verificationMode |
| Challenge age | Dashboard → Configuration → Verification. Default 25, minimum 25. | Server-created sessions only: challengeAge (whole number, 25 or above) |
| Face matching | Always on | Server-created sessions only: faceMatchEnabled |
Sessions started in the browser with a publishable key always use the account settings; values sent from the browser are ignored.
Use the account settings by default. The examples in this documentation do
not send verificationMode or challengeAge, so changing a setting in the
Dashboard changes every new session. Send a per-session override only when one
page or region genuinely needs a different policy, and remember that an
override silently replaces your Dashboard settings for that session.
// Deliberate per-session override (server only). This session uses L2
// regardless of the Dashboard setting. Omit these fields to use the account policy.
body: JSON.stringify({
returnUrl: 'https://example.com/verify/return',
externalUserId: user.id,
verificationMode: 'L2',
})
The Validate Session response and webhooks report the verificationMode and
challengeAge each session actually used, so you can confirm which policy
applied.
Choosing settings
| Your requirement | Suggested settings |
|---|---|
| 18+, and estimation is allowed | L1, challenge age 25 or higher |
| 18+, and a document check is required | L2 |
| Not sure which rules apply | L2, and get advice on your obligations |
| A minimum age above 18 | Contact support@safepassageapp.com first (see the warning above) |
You can change modes at any time in the Dashboard. The change applies to new sessions only.