ID Card Verification
ID Card Verification compares a candidate's photo ID with their live photo to verify identity. It supports face matching, name matching, and expiry date checking. Learn more about this feature.
Enabling ID Card Verification
Pass an idCardVerification object inside trackingOptions:
const proctoringOptions = {
trackingOptions: {
idCardVerification: {
face: true, // Compare face on ID with candidate's photo
name: true, // Verify name on ID matches provided name
expiryDate: true, // Check if ID card is expired
nameUpdateUrl: "https://example.com/profile" // Optional: link for candidates to update their name
}
},
userDetails: {
name: "John Doe", // Required when name verification is enabled
email: "john@example.com" // Required whenever userDetails is passed with ID card verification on
}
}
See Standard Proctoring for the full configuration reference.
Configuration
| Option | Type | Description |
|---|---|---|
face | bool | Compare the face on the ID card with the candidate's selfie. Automatically enables testTakerPhoto. |
name | bool | Extract and compare the name on the ID card with userDetails.name. Requires userDetails.name to be set. |
expiryDate | bool | Check whether the ID card has expired. Reports status as NOT_EXPIRED, EXPIRED, or UNCLEAR_OR_MISSING. |
nameUpdateUrl | string | URL where candidates can update their registered name. When provided, a link is shown in the ID verification modal and in name mismatch failure messages. |
Candidate Experience
- Selfie (if
face: true): The candidate takes a selfie for face comparison - Prompt: The candidate sees a modal explaining the ID verification requirements
- Capture or Upload: The candidate either photographs their ID using the device camera or uploads an existing image
- Result: If verification passes, proctoring continues. If it fails, the candidate can retry (up to 5 attempts). After the maximum attempts, the test continues but the report records the failure.
Report
The proctoring report includes:
- Verification status (passed/failed)
- ID card image
- Name match result (if enabled)
- Face match confidence score (if enabled)
- Expiry date status (if enabled)
If face verification is enabled, testTakerPhoto is automatically turned on. Supported ID types: any government-issued ID with a photo and name.
This feature costs additional credits. See Pricing & Credits for details.