Skip to content

Commit

Permalink
[ES-1665] Update application-default.properties (#1073)
Browse files Browse the repository at this point in the history
* [ES-1665] Update application-default.properties

Signed-off-by: Gk <[email protected]>

* [ES-1665] Update application-default.properties

Signed-off-by: Gk <[email protected]>

---------

Signed-off-by: Gk <[email protected]>
  • Loading branch information
gk-4VII authored Dec 23, 2024
1 parent 6d06a3d commit 653c967
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,10 @@ mosip.esignet.ui.config.username.postfix=
mosip.esignet.ui.config.username.max-length=12
mosip.esignet.ui.config.username.input-type=text

## This configuration offers a structured approach to supporting multiple login ID types, providing customization options such as prefixes (e.g., country codes for mobile numbers), associated icons, and validation rules (e.g., regex patterns or length constraints). Each login ID type is configurable, ensuring flexibility and consistency across the UI. If no value is provided for the configuration, it defaults to the VID login type as a fallback.
# mosip.esignet.ui.config.login-id.options={{ 'id': 'mobile', 'svg': 'mobile_icon', 'prefixes': {{'label': 'KHM', 'value': '+855', 'regex': ''}, {'label': 'IND', 'value': '+91', 'maxLength': '', 'regex': ''}}, 'postfix': '', 'maxLength': '', 'regex': '' }, { 'id': 'nrc', 'svg': 'nrc_id_icon', 'prefixes': '', 'postfix': '', 'maxLength': '', 'regex': '' }, { 'id': 'vid', 'svg': 'vid_icon', 'prefixes': '', 'postfix': '', 'maxLength': '', 'regex': '' }, { 'id': 'email', 'svg': 'email_icon', 'prefixes': '', 'postfix': '', 'maxLength': '', 'regex': '' }}
mosip.esignet.ui.config.login-id.options={{ 'id': 'vid', 'svg': 'vid_icon', 'prefixes': '${mosip.esignet.ui.config.username.prefix}', 'postfix': '', 'maxLength': ${mosip.esignet.ui.config.username.max-length}, 'regex': '${mosip.esignet.ui.config.username.regex}' }}

mosip.esignet.ui.config.key-values={'sbi.env': '${mosip.esignet.authenticator.ida-env:Developer}', 'sbi.timeout.DISC': 30, \
'sbi.timeout.DINFO': 30, 'sbi.timeout.CAPTURE': 30, 'sbi.capture.count.face': 1, 'sbi.capture.count.finger': 1, \
'sbi.capture.count.iris': 1, 'sbi.capture.score.face': 70, 'sbi.capture.score.finger':70, 'sbi.capture.score.iris':70, \
Expand All @@ -408,9 +412,10 @@ mosip.esignet.ui.config.key-values={'sbi.env': '${mosip.esignet.authenticator.id
'eKYC-steps.config': '${mosip.esignet.ui.eKYC-steps.url}', \
'error.banner.close-timer': 10,\
'auth.factor.kbi.individual-id-field' : '${mosip.esignet.authenticator.default.auth-factor.kbi.individual-id-field}',\
'auth.factor.kbi.field-details': ${mosip.esignet.authenticator.default.auth-factor.kbi.field-details}}
'auth.factor.kbi.field-details': ${mosip.esignet.authenticator.default.auth-factor.kbi.field-details}, \
'login-id.options': ${mosip.esignet.ui.config.login-id.options}}

##-------------------------------------------- Default Integrations -----------------------------------------------------

#mosip.esignet.integration.audit-plugin=LoggerAuditService
#mosip.esignet.integration.key-binder=NoOpKeyBinder
#mosip.esignet.integration.key-binder=NoOpKeyBinder

0 comments on commit 653c967

Please sign in to comment.