Create an OIDC Verifier
Creates a new OIDC Credential Verifier on the tenant.
Once created, this OIDC Verifier is publicly available on its /.well-known/openid-configuration
path. The Authorization header is not required as it is intended for OIDC Client applications to resolve.
Analytic events
- OIDC_VERIFIER_CREATE_START
- OIDC_VERIFIER_CREATE_SUCCESS
- OIDC_VERIFIER_CREATE_FAIL
Request Body schema: application/jsonrequired
The verifier payload
verifierDid required | string Specifies the DID where the verifiable presentation will be sent to. |
presentationTemplateId required | string <uuid> References the unique identifier of a Presentation Request Template that will be used by this verifier to create presentation requests. |
required | Array of objects As part of verifying a credential, the OIDC client initiates the request expecting a standard OIDC ID Token. However, as the digital wallet provides the credential in JSON-LD terms, it is required to map JSON-LD claims to OpenID Connect terms.
|
includePresentation | boolean When set to |
OIDC Verifier created
Bad Request
- Payload
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
{- "verifierDid": "did:key:z6MkrYVmyqSA93o4B1GwERM8kaQDMAUKAFV2TC3weQKeg9Gq",
- "presentationTemplateId": "364b6a1b-3600-4927-a6ac-4d66aa6bbac3",
- "includePresentation": true
}
- 201
- 400
{- "id": "41458e5a-9092-40b7-9a26-d4eb43c5792f",
- "verifierDid": "did:key:z6MkrYVmyqSA93o4B1GwERM8kaQDMAUKAFV2TC3weQKeg9Gq",
- "presentationTemplateId": "364b6a1b-3600-4927-a6ac-4d66aa6bbac3",
- "includePresentation": true
}
Retrieve all OIDC Verifiers
Returns a list of all OIDC Verifiers on the tenant.
Analytic events
- OIDC_VERIFIER_RETRIEVE_LIST_START
- OIDC_VERIFIER_RETRIEVE_LIST_SUCCESS
- OIDC_VERIFIER_RETRIEVE_LIST_FAIL
OIDC Verifiers retrieved
Bad Request
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
- 400
{- "nextCursor": "Y3JlYXRlZEF0PTIwMjAtMDgtMjVUMDY6NDY6MDkuNTEwWiZpZD1hNjZmZmVhNS04NDhlLTQzOWQtODBhNC1kZGE1NWY1M2UzNmM",
- "data": {
- "id": "41458e5a-9092-40b7-9a26-d4eb43c5792f",
- "verifierDid": "did:key:z6MkrYVmyqSA93o4B1GwERM8kaQDMAUKAFV2TC3weQKeg9Gq",
- "presentationTemplateId": "364b6a1b-3600-4927-a6ac-4d66aa6bbac3",
- "includePresentation": true
}
}
Retrieve an OIDC Verifier
Retrieves an existing OIDC Verifier by providing its ID.
Analytic events
- OIDC_VERIFIER_RETRIEVE_START
- OIDC_VERIFIER_RETRIEVE_SUCCESS
- OIDC_VERIFIER_RETRIEVE_FAIL
OIDC Verifier retrieved
Bad Request
OIDC Verifier not found
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
- 400
- 404
{- "id": "41458e5a-9092-40b7-9a26-d4eb43c5792f",
- "verifierDid": "did:key:z6MkrYVmyqSA93o4B1GwERM8kaQDMAUKAFV2TC3weQKeg9Gq",
- "presentationTemplateId": "364b6a1b-3600-4927-a6ac-4d66aa6bbac3",
- "includePresentation": true
}
Update an OIDC Verifier
Updates an existing OIDC Verifier by providing its ID.
Analytic events
- OIDC_VERIFIER_UPDATE_START
- OIDC_VERIFIER_UPDATE_SUCCESS
- OIDC_VERIFIER_UPDATE_FAIL
Request Body schema: application/jsonrequired
Update a verifier
verifierDid required | string Specifies the DID where the verifiable presentation will be sent to. |
presentationTemplateId required | string <uuid> References the unique identifier of a Presentation Request Template that will be used by this verifier to create presentation requests. |
required | Array of objects As part of verifying a credential, the OIDC client initiates the request expecting a standard OIDC ID Token. However, as the digital wallet provides the credential in JSON-LD terms, it is required to map JSON-LD claims to OpenID Connect terms.
|
includePresentation | boolean When set to |
OIDC Verifier updated
Bad Request
OIDC Verifier not found
- Payload
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
{- "verifierDid": "did:key:z6MkrYVmyqSA93o4B1GwERM8kaQDMAUKAFV2TC3weQKeg9Gq",
- "presentationTemplateId": "364b6a1b-3600-4927-a6ac-4d66aa6bbac3",
- "includePresentation": true
}
- 200
- 400
- 404
{- "id": "41458e5a-9092-40b7-9a26-d4eb43c5792f",
- "verifierDid": "did:key:z6MkrYVmyqSA93o4B1GwERM8kaQDMAUKAFV2TC3weQKeg9Gq",
- "presentationTemplateId": "364b6a1b-3600-4927-a6ac-4d66aa6bbac3",
- "includePresentation": true
}
Delete an OIDC Verifier
Deletes an existing OIDC Verifier by providing its ID.
Analytic events
- OIDC_VERIFIER_DELETE_START
- OIDC_VERIFIER_DELETE_SUCCESS
- OIDC_VERIFIER_DELETE_FAIL
OIDC Verifier deleted
Bad Request
OIDC Verifier not found
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 400
- 404
{- "code": "BadRequest",
- "message": "Validation Error",
- "details": [
- {
- "location": "params",
- "msg": "Invalid value",
- "param": "verifierId",
- "value": "abc"
}
]
}