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
1
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
2
Choose a Verification Profile
Select the verification level required for your flow:
3
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.
4
Implement the SDK
Use the Verilock SDK to initiate verification from your frontend.
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.
Configure the liveness mode in Dashboard > Verification Profiles.
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.
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.

