Government ID types are found under the client.webapp.custom.properties
Type ID. Below is an example of the configuration for a driver's license:
{ "idType": "driversLicense", "allowPastExpiryDate": false, "allowFutureIssueDate": false, "label": "idTypeDriversLicense", "collectExpiryDate": true, "collectIssueDate": true, "collectState": true },
To create another idType
, you can copy the above configuration and tailor it to the new ID by changing the idType
to another value specific to the new ID (for example, student ID card could be set to studentId
) and creating a key message and corresponding message in the client.custom.messages.en
and referenced in the label
attribute (seen above).
Key |
Description |
Sample Value |
---|---|---|
|
Variable name of this idType; used for core configuration. |
|
|
If set to false, the system will require that the expiration date be in the future for the applicant to continue |
|
|
If set to false, the system will require that the issue date be in the past for the applicant to continue |
|
|
The key of the message that will be displayed in the ID Type drop down. The value of the message key will need to be entered in the |
|
|
Prompt for an ID Expiration Date |
|
|
Prompt for an ID Issue Date |
|
|
Prompt for an ID State |
|
|
Prompt for an ID Country |
|
You can enable the front of a driver’s license to be requested by the Gro platform. This change adds a page into the workflow after the Get Started page.
To enable this feature, update the client.webapp.custom.properties
Type ID as follows:
{ "primaryIdCapture":true, "jointIdCapture":true, "idTypes":[ { "idType":"driversLicense", "imageRequiredChannel": [ "web", "native" ], ... }, { "idType":"stateId", "imageRequiredChannel": [ "web", "native" ], ... } ] }