Signet
GitHubCommunityWhat's New
  • eSignet
  • Overview
    • Features
      • Signup Portal
    • Principles
    • Standards & Security
    • License
  • Develop
    • Technology
      • Technology Stack
      • Components - eSignet
      • Components - Signup Portal
      • API
    • Configure eSignet
      • ACR
      • Claims
      • .well-known
        • jwks.json
        • oauth-configuration
        • openid-configuration
  • Test
    • Try It Out
      • Using Mock Data
      • Register Yourself
      • Integrate with eSignet
    • End User Guide
      • Health Portal
        • Login with Biometrics
        • Login with Password
        • Login with OTP
        • Login with QR code (Inji)
        • Knowledge Based Identification
        • Signup and Login with OTP for Verified Claims
    • Integration Guides - eSignet
      • Authenticator Plugin
      • Key Binder Plugin
      • Audit Plugin
      • Digital Wallet
        • Credential Holder
        • Wallet Authenticator
      • Relying Party
    • Integration Guide
      • Identity Verifier Plugin
      • Profile Registry Plugin
      • Integration with eSignet portal
  • Deploy
    • Deployment Architecture
      • On-Prem Installation Guidelines
    • Local Deployment
      • Mock Identity System
      • Mock Relying Party
  • Interoperability
    • MOSIP
    • Inji
    • OpenCRVS
  • Roadmap and Releases
    • Roadmap
      • Roadmap 2025
      • Roadmap 2024
    • Releases
      • v1.6.0
      • v1.5.1
        • Test Report
      • v1.5.0
        • Test Report
      • v1.4.2
      • v1.4.1
        • Test Report
      • v1.4.0
        • Test Report
      • v1.3.0
        • Test Report
      • v1.2.0
        • Test Report
      • v1.1.0
        • Test Report
      • v1.0.0
        • Test Report
      • v0.9.0
        • Test Report
  • Community
    • Code Contribution
    • Code of Conduct
  • General
    • Resources
    • FAQs
    • Glossary
Powered by GitBook

Copyright © 2021 MOSIP. This work is licensed under a Creative Commons Attribution (CC-BY-4.0) International License unless otherwise noted.

On this page
  • Overview
  • Country-Specific Configuration
  • SVG Icon Configuration
  • Configuration Format
  • Summary

Was this helpful?

Edit on GitHub
Export as PDF
  1. Develop
  2. Configure eSignet

Login ID Configuration in eSignet

The eSignet system introduces enhanced flexibility in configuring login ID types to better align with country-specific needs and business requirements. This allows implementers to tailor login experiences based on regional standards, supported ID types, and UI preferences.

Overview

eSignet now supports dynamic configuration of login identifiers, giving implementers the ability to:

  • Enable or disable specific login types (e.g., Mobile Number, NRC ID, Email, VID).

  • Display country-specific prefixes dynamically.

  • Configure SVG icons to visually represent each login method in the UI.

By default, VID is shown as the primary login ID. However, this can be extended and customized through configuration.

Country-Specific Configuration

Login options available to users can vary depending on the country or deployment region. For example:

  • A Mobile Number login can display country-specific prefixes like +91 (India), +855 (Cambodia), or +1 (USA).

  • These prefixes are shown dynamically in the UI based on the selected login ID type.

This ensures a localized and intuitive login experience for users around the world.

SVG Icon Configuration

Each login ID type can be associated with a custom SVG icon that visually represents the identifier in the login interface.

  • These icons are displayed next to their corresponding input fields.

  • Icons can be configured to match branding and UI themes.

Configuration Format

All login ID types and their respective properties are defined in the eSignet configuration file:

File: application-default.properties Key: mosip.esignet.ui.config.login-id.options

Example Configuration

mosip.esignet.ui.config.login-id.options={
  {
    "id": "mobile",
    "svg": "mobile_icon",
    "prefixes": [
      { "label": "IND", "value": "+91", "maxLength": "", "regex": "" },
      { "label": "KHM", "value": "+855" },
      { "label": "USA", "value": "+1" }
    ],
    "postfix": "@phone",
    "maxLength": "",
    "regex": ""
  },
  {
    "id": "nrc",
    "svg": "nrc_id_icon",
    "prefixes": "",
    "postfix": "@NRC",
    "maxLength": "",
    "regex": ""
  },
  {
    "id": "vid",
    "svg": "vid_icon",
    "prefixes": "",
    "postfix": "@ID",
    "maxLength": "",
    "regex": ""
  },
  {
    "id": "email",
    "svg": "email_icon",
    "prefixes": "",
    "postfix": "@email",
    "maxLength": "",
    "regex": ""
  }
}

Summary

With the new login ID configuration feature, eSignet allows:

  • Full control over which login types to show.

  • Custom display of country codes for mobile login.

  • Visual customization using SVG icons.

  • Easy configuration through application-default.properties.

This level of flexibility makes eSignet highly adaptable for diverse identity systems and regional deployment requirements.

Last updated 9 days ago

Was this helpful?