Step 1: Add SDK Dependency
Add the OTPLESS SECURE SDK to your project by including the following script in the<head>
section of your HTML document:
index.html
Replace
YOUR_APP_ID
with your actual App
ID provided in
your OTPLESS dashboard.Step 2: Initialize SDK and Handle Callback
Initialize the SDK and set up a callback function to handle fingerprinting:index.html
Step 3: Initiate SDK
Use theinitiate
method of the SDK to start the fingerprinting process:
🏁 Checkpoint
To ensure a smooth integration process:- Deploy your app/website with the included OTPLESS SECURE SDK.
- Conduct tests to verify the fingerprinting flow functions correctly.
User Information Response Structure
The structure of the response returned upon successful fingerprinting as follows:Next Steps
Validate ID Token
Learn how to securely `validate ID token` returned by OTPLESS javascript SDK to ensure the fingerprinting events from your backend server.
Validate Token (Opaque)
Learn how to securely `validate token` returned by OTPLESS javascript SDK to ensure the fingerprinting events from your backend server.