Reference implementation of a lightweight GUI application for MOSIP IDA authentication operations.
- Navigate to
installation/windows/ - Double-click
install.bat - After installation, double-click
run.batto start
- Navigate to
installation/mac/ - Run:
chmod +x install.sh run.sh - Run:
./install.sh - Run:
./run.shto start
- Navigate to
installation/linux/ - Run:
chmod +x install.sh run.sh - Run:
./install.sh - Run:
./run.shto start
Place certificate files in the config/ directory:
config/IDA_FIR.pem- Encryption certificate (PEM format)config/partner1.p12- Signing and decryption certificate (P12 format)
Edit config/config.toml with your settings:
[mosip_auth_server]
ida_auth_domain_uri = 'https://your-mosip-server.com'
ida_auth_url = 'https://your-mosip-server.com/idauthentication/v1'[mosip_auth]
partner_apikey = "YOUR_API_KEY"
partner_misp_lk = "YOUR_MISP_LK"
partner_id = "YOUR_PARTNER_ID"[crypto_encrypt]
decrypt_p12_file_password = "YOUR_PASSWORD"
[crypto_signature]
sign_p12_file_password = 'YOUR_PASSWORD'Configure dropdown values in config/config.toml under [gui] section:
[gui]
# ID Types dropdown
id_types = ["UIN", "VID"]
# Gender dropdown options
gender_options = ["Male", "Female", "Other"]
# Language dropdown options
languages = ["eng", "ara", "fra"]Modify these arrays to add or remove options. The first item in each list is the default value.
- Start the application using the run script for your OS
- Select authentication type (KYC Auth is implemented)
- Enter UIN or VID and select ID type
- Check boxes for demographic fields to include
- Fill in values for checked fields
- Click Submit
- View results in the Results tab
- KYC Authentication with checkbox-based field selection
- Dynamic response display (all fields from JSON)
- Photo display with placeholder fallback
- Configurable dropdown values via config file
- Self-contained (all config and certificates in project directory)
- Python 3.10 or higher
- tkinter (included with Python)
- Internet connection for dependency installation
mosip_auth_gui/
├── README.md
├── config/
│ ├── config.toml
│ ├── config.toml.example
│ ├── IDA_FIR.pem
│ └── partner1.p12
├── installation/
│ ├── windows/
│ ├── mac/
│ └── linux/
├── gui/
├── utils/
└── main.py
- This is a reference implementation
- Only KYC authentication is fully implemented
- OTP and Demographic auth forms are placeholders
- All configuration is in the
config/directory - Certificate files must be placed in
config/directory