Verified Identity
To request verified identity VC available in the Affinidi Vault, a specific Presentation Definition must be defined in the Affinidi Iota Framework. In the Presentation Definition, the query must include the following filters to enable Affinidi Vault to determine whether the website requesting data from the user requires the verified identity VC or not.
Check for VC Issuer: Filter to only accept Verifiable Credential issued by Affinidi and signed using the
did:web
method. The verified identity VC is issued and signed by thedid:web:idv.affinidi.com
DID.Check for VC Type: Filter to only accept Verifiable Credential created by Identity Verification flow, including the supported document.
If the verified identity VC is not found in the Affinidi Vault, the user is redirected to the ID Verification provider to perform identity verification where they must provide a self-photo and supported identity documents.
Note
Identity Verification is currently in Closed Beta. To enable this feature in your project, send us a request through Contact Us form and get your Project ID whitelisted.
To learn more about how Identity Verification works, visit this page.
Requesting Passport Data
Below is the Presentation Definition required to query the verified identity VC of the user from the Affinidi Vault.
{
"id": "verified_identity",
"input_descriptors": [
{
"id": "id_document_input",
"name": "ID Document from IDV provider",
"constraints": {
"fields": [
{
"path": ["$.issuer", "$.vc.issuer", "$.iss"],
"purpose": "Only accept credentials issued by Affinidi IDV",
"filter": {
"type": "string",
"pattern": "^did:web:idv.affinidi.com$"
}
},
{
"path": [
"$.type"
],
"purpose": "Only accept IDV type VC",
"filter": {
"type": "array",
"contains": {
"type": "string",
"pattern": "^VerifiedIdentityDocument$"
}
}
},
{
"path": [
"$.type"
],
"purpose": "Only accept IDV supported document",
"filter": {
"type": "array",
"contains": {
"type": "string",
"pattern": "^Passport$"
}
}
}
]
}
}
]
}
Glad to hear it! Please tell us how we can improve more.
Sorry to hear that. Please tell us how we can improve.
Thank you for sharing your feedback so we can improve your experience.