Selfie Biometric Authentication
REL-ID SDK: Server-Side Selfie Biometric Authentication
🔍 Overview
Server-side selfie biometric authentication in REL-ID allows an application to verify a user's identity using their facial biometrics. The biometric matching is done on the server by comparing the captured selfie with the existing template stored securely on the backend.
⚖️ Purpose
- To authenticate a user via live selfie capture and server-side template matching
- Ensure secure biometric verification for login, KYC, or sensitive transactions
📆 Workflow Steps
1. Check for Existing Selfie Template
RdnaClient.checkIDVUserBiometricTemplateStatus();
- Event Triggered:
onIDVCheckUserBiometricTemplateStatus
- If the selfie template exists, proceed to next step
- If not, prompt user for biometric opt-in
2. Start Server-Side Authentication
RdnaClient.initiateIDVServerBiometricAuthentication();
- Requests the SDK to initiate selfie authentication
- SDK immediately invokes the event to capture selfie
3. Confirm Selfie Capture Start
- Event Triggered:
getIDVSelfieProcessStartConfirmation
- App must show a screen to get user consent to begin selfie capture
- Submit consent using API
setIDVSelfieProcessStartConfirmation
- Once user confirms, SDK proceeds with selfie capture
4. Receive Authentication Result
- Event Triggered:
onIDVServerBiometricAuthenticationResult
- Contains match result, error codes, and status
- This event is received even if user did not give consent to capture selfie and marks the end of the flow
👁️ UI Screens Shown (SDK)
- Selfie capture screen
- Error/retry screen (on poor quality)
- Status screen with match success/failure
Updated 3 months ago