Skip to content
Andreas Michael edited this page Nov 30, 2026 · 1 revision

Didit Integration

The ESN Membership Manager integrates with Didit (Verification API v3) to provide automatic online identity verification during the membership application process.

Purpose

When enabled, applicants can verify their identity document directly through Didit instead of uploading a manual photo/scan of their ID or Passport:

  • Automatic Data Extraction: Verified First Name, Last Name, Nationality, and Date of Birth are automatically retrieved from Didit and pre-filled into the application.
  • Reduced Review Workload: Applications verified through Didit are marked as Identity Verified, locking the verified personal fields as read-only during officer review and removing the need to manually inspect ID documents.
  • Manual Fallback: If an applicant cannot complete Didit verification (or if Didit is disabled), they can still fall back to uploading an ID/Passport document for manual review.

Prerequisites

  • A Didit developer/organisation account.
  • A configured Verification Workflow in the Didit Console (configured for ID Verification).

1. Obtain Didit Credentials

  1. Log in to the Didit Console.
  2. Navigate to Developers > API Keys.
  3. Copy your Application API Key.
  4. Navigate to Workflows, select (or create) your identity verification workflow, and copy its Workflow ID.

2. Module Configuration

  1. Navigate to the module settings: /admin/config/system/esn-membership-manager.
  2. Under Enable / Disable Features > Verification, check Enable Didit Integration.
  3. Open the Didit Settings section and fill in:
    • Application API Key: Paste the API key from Didit.
    • Workflow ID: Paste the ID of the verification workflow to use.
  4. Click Save configuration.

Note

The module automatically passes the callback URL https://your-domain.com/memberships/apply/verify/id (with callback_method: initiator) when creating each verification session via POST https://verification.didit.me/v3/session.

3. How It Works

  1. After verifying their email on the Application Form (/memberships/apply), the applicant starts a Didit verification session.
  2. The module stores the session ID and token in esn_membership_manager_in_progress_applications and redirects the applicant to Didit.
  3. Upon completion, Didit redirects the applicant back to /memberships/apply/verify/id?verificationSessionId=....
  4. The module queries GET https://verification.didit.me/v3/session/{sessionID}/decision to retrieve the verification status (Approved, Declined, or In Review) and extracted identity fields.
  5. If Didit returns an Undetermined nationality mapping, officers with Edit Application permission can still manually correct the Nationality field before approving.

Clone this wiki locally