MOSIP / eSignet → openIMIS: Insuree Identity Verification & Enrollment Workflow
Properties
Reference | https://standards.spdci.org/standards/dci-standards/id-systems-v1.0.0 |
|---|---|
Sector | Health / Social Protection |
Components | |
github | https://github.com/openimis/sandbox/tree/develop/mosip_conn_esignet_officer/openimis-fe-insuree_js |
Purpose
This workflow leverages eSignet — MOSIP's OAuth2/OpenID Connect-compliant authentication gateway — to allow an individual to authenticate and consent to share their civil/identity information with openIMIS during health insurance enrollment.
The use case describes an assisted, agent-driven enrollment: a designated enrollment officer facilitates onboarding by verifying the individual's identity through eSignet, collecting consented data, and submitting the application on the individual's behalf. This strengthens identity assurance and reduces enrolment fraud by replacing self-declared civil data with data verified in real time against a national ID system.
Key objectives:
Provide real-time, consent-based identity verification at enrollment, rather than self-declared demographic data
Give individuals explicit control over which data fields are shared with openIMIS
Establish a strong audit trail of consent and data provenance, aligned with DCI privacy principles
ℹ️ Note on workflow selection: A QR-code-based alternative (offline-capable, suited to low-connectivity areas) was also scoped during the sandbox project. Due to time and budget constraints, the community prioritized the eSignet OAuth2 workflow documented here, as it provides stronger real-time identity assurance and aligns better with national-level identity verification needs. The QR-code approach remains a relevant pattern for future work in connectivity-constrained deployments.
Trigger
An enrollment officer initiates beneficiary onboarding for national health insurance via openIMIS, and the individual's identity needs to be verified against a national ID system before enrollment is finalized.
Workflow Overview
Field | Value | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Workflow Maturity | Implemented : tested end-to-end in sandbox (officer-assisted, real-time synchronization variant). | ||||||||||||
Referenced Standards | OAuth 2.0 Authorization Code Flow / OpenID Connect (OIDC) / DCI privacy principles: https://spdci.org | ||||||||||||
DCI Role Mapping | openIMIS = SP-MIS (Social Protection Management Information System) | ||||||||||||
Actors |
| ||||||||||||
Assumptions & Prerequisites |
| ||||||||||||
Validations | openIMIS (SP-MIS) must validate:
eSignet / MOSIP (ID Provider) must validate:
|
Diagram
Workflow Steps
Step 1 — Trigger eSignet Flow (openIMIS)
During enrollment, the officer accesses the national health insurance registration form in openIMIS and sends a dedicated eSignet link (via SMS, email, or QR code) to the individual. The link redirects the individual to MOSIP's eSignet portal.
Transaction: openIMIS → Individual (link delivery, out-of-band channel)
Step 2 — User Authentication (MOSIP)
The individual logs into eSignet using their MOSIP credentials — PIN/password, biometric (fingerprint, iris, or face), or OTP.
Transaction: Individual → eSignet/MOSIP
Step 3 — Consent for Data Sharing
eSignet displays a consent screen listing the requested data fields (name, date of birth, UIN, etc.). The individual reviews and explicitly authorizes data sharing with openIMIS.
Transaction: Individual → eSignet/MOSIP
Step 4 — Token Exchange and Data Retrieval
eSignet returns an authorization code to openIMIS. openIMIS exchanges the code for an access token, then uses that token to retrieve the consented identity data from MOSIP.
Transaction: eSignet/MOSIP → openIMIS (authorization code) → eSignet/MOSIP (token exchange + data retrieval)
Step 5 — Data Capture and Storage (openIMIS)
openIMIS pre-fills the enrolment form with the retrieved, consented data. The enrollment officer verifies the data with the individual (with no possibility to edit data sourced from MOSIP) and completes the enrolment. openIMIS stores the enrollment with a reference to the MOSIP UIN for future verification.
Transaction: Internal SP-MIS processing
Interaction Table
# | Interaction | From | To | FHIR Resource / Action | Reference |
|---|---|---|---|---|---|
1 | Send eSignet link | openIMIS (SP-MIS) | Individual | Out-of-band delivery (SMS/email/QR) | Initiated by Enrollment Officer |
2 | User authentication | Individual | eSignet/MOSIP (ID Provider) | PIN/password, biometric, or OTP |
|
3 | Consent data sharing | Individual | eSignet/MOSIP (ID Provider) | Field-level explicit consent |
|
4 | Send authorization code | eSignet/MOSIP (ID Provider) | openIMIS (SP-MIS) | OAuth2 authorization code |
|
5 | Get access token | openIMIS (SP-MIS) | eSignet/MOSIP (ID Provider) | Token exchange |
|
6 | Get consented information | openIMIS (SP-MIS) | eSignet/MOSIP (ID Provider) | Retrieve identity attributes via OIDC | Scope-limited to consented fields |
7 | Pre-fill insuree form | openIMIS (SP-MIS) | openIMIS (SP-MIS) | Internal : auto-populate enrolment form |
|
8 | Verify data with individual | openIMIS (SP-MIS) | Individual | Confirmation : no edit capability | Enrollment Officer facilitates |
9 | Complete enrolment | openIMIS (SP-MIS) | Individual | Enrollment finalized, linked to MOSIP UIN |
|
Resources Summary
Resource / Object | System | Purpose |
|---|---|---|
MOSIP UIN | MOSIP | Unique national identifier, stored in openIMIS as a reference for future verification |
OAuth2 authorization code | eSignet | Short-lived credential exchanged for an access token |
OIDC access token | eSignet | Scope-limited token granting access to consented identity attributes only |
Consented identity attributes (name, DOB, gender, UIN, etc.) | eSignet/MOSIP → openIMIS | Pre-fills the openIMIS enrolment/insuree form |
Security Considerations
The OAuth2 flow enforces mutual TLS, short-lived tokens, and scope-limited data access.
All data sharing is consent-driven and field-level : the individual sees exactly which attributes are requested before authorizing release.
The workflow is compliant with GDPR-like privacy standards and the Digital Convergence Initiative (DCI) privacy principles.
openIMIS enforces a strict no-edit policy on MOSIP : sourced data to preserve data integrity and provenance.
Documents
Mosip Collab environments :