WEB-600 feat:External National ID System integration for client creation/editing (#3145)

improve
This commit is contained in:
Shubham Kumar
2026-02-13 13:40:19 -06:00
committed by GitHub
parent ec6ec2edc1
commit 1ea9f88bb2
23 changed files with 752 additions and 21 deletions
+14
View File
@@ -50,3 +50,17 @@ MIFOS_PRODUCTION_MODE=false
# When true: Menus/buttons are shown based on user permissions (production mode)
# When false (default): All menus/buttons are shown (backward compatibility)
MIFOS_PRODUCTION_MODE_ENABLE_RBAC=false
# External National ID System integration
# Set to true to enable auto-lookup of client data from an external ID system
ENABLE_EXTERNAL_NATIONAL_ID_SYSTEM=false
# URL of the external National ID API (proxied via /external-nationalid in dev)
EXTERNAL_NATIONAL_ID_SYSTEM_URL=/external-nationalid
# Header name for the external API key (injected server-side via nginx)
EXTERNAL_NATIONAL_ID_SYSTEM_API_HEADER=X-Gravitee-Api-Key
# API key value (keep empty in source control; injected server-side via nginx proxy_set_header)
EXTERNAL_NATIONAL_ID_SYSTEM_API_KEY=
# Regex pattern to validate the external ID format (e.g. CURP)
EXTERNAL_NATIONAL_ID_REGEX=^[A-Z]{4}[0-9]{6}[HM][A-Z]{5}[A-Z0-9]{2}$
# Full upstream URL for nginx proxy_pass (e.g. https://apis.mifos.community/1.0/nationalid)
EXTERNAL_NATIONALID_API_URL=