> For the complete documentation index, see [llms.txt](https://docs.1kosmos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.1kosmos.com/identity-verification/database-validation/aadhaar-verification-via-digilocker.md).

# Aadhaar Verification via DigiLocker

***

### Overview

For users in India, the platform can confirm that the holder's demographic details, such as name and date of birth, match the record held against their Aadhaar number, the identity number issued by the national identity authority.

The **Aadhaar Verification (DigiLocker)** node runs this check via DigiLocker, the Government of India's document wallet. You add the node to a workflow in the Workflow Builder and branch the flow on the result.

The node checks the name, date of birth, and PIN code the user provides, together with a LiveID selfie, against the user's DigiLocker record. The selfie is first checked for liveness and then compared against the record. The node returns a pass/fail decision with individual match scores.

### What Gets Checked

The node confirms:

* That the name, date of birth, and PIN code the user enters match the record held against their Aadhaar number
* That the user's LiveID selfie is of a live person, and that the face in it matches the record. The liveness check runs before the face comparison, so a printed photo or a replayed image cannot be used to pass verification
* That the user consented to the DigiLocker lookup and completed it with a one-time password (OTP)

### What It Does and Doesn't Tell You

It confirms that the user's submitted details and selfie correspond to the Aadhaar record held by DigiLocker, with individual match scores for name, date of birth, PIN code, and face.

It does not verify the Aadhaar number in isolation. The check runs through DigiLocker, so it depends on the user completing DigiLocker sign-in or sign-up and giving consent; if the user cannot access DigiLocker, the node cannot complete the verification.

### Prerequisites

* Community Administrator access to the AdminX UI and the Workflow Builder.
* The Aadhaar Verification (DigiLocker) node enabled for your tenant. If you don't see it in the Node Library, contact your 1Kosmos representative.

### Add the Node to a Workflow

1. Open the Workflow Builder.
2. In the Node Library on the right, expand the **Third-Party Verification** category.
3. Locate **Aadhaar Verification (DigiLocker)** and drag the node onto the canvas.
4. Connect the node's branches to the rest of the workflow.
5. Click **Save**. Use **Preview** to review the flow before publishing.

### End User Experience

<figure><img src="https://691395313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjgyVKgYJP0xNjsiKAcPm%2Fuploads%2FkMdTFOzdHeC49a0iD0iX%2FAadhaar%20Verification.gif?alt=media&amp;token=348f1365-866e-4a7a-b954-e34f7fe7138f" alt=""><figcaption></figcaption></figure>

When the workflow reaches this node, the end user:

1. Enters their full name (as per Aadhaar), date of birth, and PIN code, then selects **Verify with DigiLocker.**<br>

   ![](https://691395313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjgyVKgYJP0xNjsiKAcPm%2Fuploads%2FKovQOv87Y772TMZrgRTP%2FAadhaar1.png?alt=media\&token=70d5e791-67a5-4252-92fa-987daa6f0265)<br>
2. Captures a LiveID selfie to complete the liveness check.
3. Is redirected to the DigiLocker portal to authenticate.
4. Enters their Aadhaar number, verifies the OTP sent to their registered mobile number, and enters their 6-digit DigiLocker security PIN.\
   \
   ![](https://691395313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjgyVKgYJP0xNjsiKAcPm%2Fuploads%2FQuz8QnnhUjdFbYgSStRY%2FAadhaar2.png?alt=media\&token=344900e4-7c26-4924-875f-50314ac7f780)
5. Reviews the requested Aadhaar information and selects **Allow** to provide consent for sharing.
6. Is redirected back after DigiLocker processes the request.
7. Sees a confirmation once their identity has been successfully verified.

{% hint style="info" %}
DigiLocker delivers the result through a callback after the user gives consent, so expect a short delay between consent and the workflow advancing.
{% endhint %}

#### Selfie Attempts

* The user gets up to 3 attempts to capture a selfie that passes the liveness check. The limit is enforced by the server.
* If all 3 attempts fail, the user can continue with the verification, but the overall result is **Verification Failed**.
* The user is not told that the liveness check caused the failure, which prevents probing and bypass attempts. Administrators can see the cause in the Match Score panel.

DigiLocker delivers the result through a callback after the user gives consent, so expect a short delay between consent and the workflow advancing.

### Viewing Aadhaar Verification Results

In addition to the node's own output, community administrators can review a readable summary of any Aadhaar verification attempt from the Sessions page in AdminX.

1. Go to **Verification > Sessions**.
2. Find the session for the user you want to review. Each row shows the identity, document type (**Aadhaar Card**), outcome (**Passed** or **Failed**), risk level, signals detected, and location.
3. Click the session to open **View Results**.

The View Results page shows:

* **Session Details** — Session ID, session status, the browser/OS used, and the IP address the session was run from.
* **Summary** — the user's name, the document type, and the **Overall Recommendation** (**Verification Passed** or **Verification Failed**).
  * **Match Score** — the individual checks behind the overall recommendation. See [#match-score](#match-score "mention")
* **Data Extracted** — the name, date of birth, country, and PIN/zip code read from the Aadhaar record.
* **Images** — captured images for the session, available on request via **Show Images**.

<figure><img src="https://691395313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjgyVKgYJP0xNjsiKAcPm%2Fuploads%2FlggYVMZ4XwSdVk2rxLJv%2FFrame%201252%20(1).png?alt=media&amp;token=db7b4c4c-3d4c-449b-bd32-7c5ea853d297" alt=""><figcaption></figcaption></figure>

#### Match Score

The Match Score panel breaks the overall recommendation down into the four individual checks that feed it:

* **Full Name Match** — whether the name the user entered matches the name on the Aadhaar record.
* **Face Match** — whether the LiveID selfie matches the record, shown as **Match** or **No Match** alongside a confidence score (for example, 0.98). This is the only field in the panel that displays a numeric score; the other three show only a match/no-match badge.\
  The default face match threshold is set to 0.7; A `face_match_confidence` score above 0.7 is accepted, and this threshold is not configurable by users or admins today.
* **DOB Match** — whether the date of birth the user entered matches the record.
* **Address Match** — whether the PIN code the user entered matches the record. This corresponds to the `zip_match_confidence` field in the node's own response.
* **Face Liveness**: whether the selfie was confirmed to be of a live person. Shows **Pass** or **Fail** with a score (for example, 0.96).
* **Face Quality**: whether the selfie was good enough quality for face comparison. Shows **Pass** or **Fail** with a score (for example, 0.92).

Each check is evaluated independently, so a session can fail overall while some checks still show **Match**. Use this panel to find which check caused a failure. For example, if a user failed all 3 liveness attempts, **Face Liveness** shows **Fail**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.1kosmos.com/identity-verification/database-validation/aadhaar-verification-via-digilocker.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
