🆔 Aadhaar DigiLocker Verification

Complete Standalone Implementation - No Backend Required

⚠️ Important CORS Notice

This standalone version directly calls TruthScreen API from the browser.

Due to CORS (Cross-Origin Resource Sharing) restrictions, this may not work in all browsers when accessing TruthScreen's API directly from a web page.

Recommended Solutions:

  • Use a CORS proxy service
  • Run a simple backend server (recommended for production)
  • Use browser extensions to disable CORS (development only)
🔧 CORS Proxy Configuration

If direct API calls fail due to CORS, you can use a CORS proxy:

Example: https://cors-anywhere.herokuapp.com/

Usage: Prefix the TruthScreen API URL with the proxy URL

Note: For production use, set up your own CORS proxy or backend server.

🔐 TruthScreen API Credentials (Built-in)

Base URL: https://www.truthscreen.com
Username: test@theodin.in
Password: India@2608
Document Type: 472 (Aadhaar DigiLocker)
API Endpoint: /api/v1.0/eaadhaardigilocker/
📋 How This Standalone Version Works:
  1. All TruthScreen credentials are embedded in this HTML file
  2. Encryption/decryption functions are built-in (JavaScript implementation)
  3. Direct API calls to TruthScreen from the browser
  4. No backend server required - everything runs in the browser
  5. Complete DigiLocker verification process handled client-side
Aadhaar number is required to start verification.

Processing your request...