Skip to content

Add optional integration to User Data Store #1537

@zcgandcomp

Description

@zcgandcomp

Description

If configured, store the extracted face image and document data (Person) in the User Data Store.
The configuration should specify which data is stored:

  • store only the document with a trusted image or all documents (i.e. document with selfie)
  • store document extracted data true/false (i.e. DocumentData and country)
  • store the document image scan true / false (store images of front and back side)

This should be done directly from ESO (not via additional service)

Acceptance criteria

No response

Technical specification

  • The data should be stored AFTER the process is completed (successfully)
  • The document type is personal_id, passport, drivers_license if whole document is stored.
  • The document data are our parsed date i.e. DocumentData + county
  • The data should be stored as:
 {
  "requestObject": {
    "userId": "id of user",
    "documentType": "personal_id, passport, drivers_license, photo   ", 
    "dataType": "claims",
    "externalId": "processId",
    "documentData": "{DocumentData + country}",
     "attributes":"trustedImage / nil",
    "photos": [{
      "photoType": "person",
      "photoData": "base64 encoded data of the photo",
      "externalId": "selfie id"
    },{
      "photoType": "document_back_side",
      "photoData": "base64 encoded data of the photo",
      "externalId": "upload id"
    },{
      "photoType": "document_front_side",
      "photoData": "base64 encoded data of the photo",
      "externalId": "selfie id"
    }
]
  }
}

QA specification

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions