Prerequisites
- An application with an existing authentication system
- Verilock Business or Enterprise plan
How It Works
Auth Engine sits between your authentication system and the protected resource. When a user triggers a verification requirement, they are redirected to the Verilock hosted flow, verified, and returned to your application with a signed result.Setup
Register Your Application
Go to Dashboard > Settings > Integrations > Auth Engine and register your application:
- Application Name: Your app’s display name
- Callback URL: Where to redirect after verification (e.g.,
https://yourapp.com/auth/verilock/callback) - Allowed Origins: Domains permitted to initiate verification
Choose a Verification Profile
Select the verification level required for your flow:
| Profile | Steps | Use Case |
|---|---|---|
| Basic | Document capture only | Low-risk account creation |
| Standard | Document + selfie + face match | Standard onboarding |
| Enhanced | Document + selfie + face match + liveness + address proof | Regulated financial services |
Configure Callback Handling
After verification, Verilock redirects the user to your callback URL with a signed token:Verify the token server-side before granting access.
SDK Integration
- JavaScript
- React
Callback Token Verification
Always verify the callback token server-side before granting access:Liveness Detection
When using the Standard or Enhanced profile, liveness detection is automatically included. The verification flow captures a short video sequence to confirm the user is physically present.| Liveness Mode | Description |
|---|---|
| Passive | AI-based analysis of a single selfie (no user action required) |
| Active | User performs head movements or reads a code on screen |
Auto-Redirect
WhenautoRedirect is enabled, users are automatically sent to the Verilock hosted flow without an intermediate step. After verification, they return to your callback URL.
| Setting | Description | Default |
|---|---|---|
autoRedirect | Skip intermediate page | true |
modalMode | Open in modal instead of redirect | false |
language | Force a specific locale | Auto-detect |
Troubleshooting
Invalid callback URL
Invalid callback URL
The callback URL must exactly match the URL registered in the dashboard, including the protocol and path. Query parameters are allowed but the base URL must match.
Token verification fails
Token verification fails
Tokens expire after 5 minutes. Ensure your server verifies the token immediately upon receiving the callback. Check that your API key is valid and has Auth Engine permissions.
CORS errors
CORS errors
Add your application’s domain to the Allowed Origins list in the Auth Engine configuration. Include both the protocol and port if applicable.

