Skip to main content

DCQL query requirements

GET 

/auth/dcql-queries

Retrieves the DCQL (Digital Credentials Query Language) query requirements associated with various OpenID Connect (OIDC) scopes, for the OpenID4VP 1.0 (final) grant.

Four scopes (did-registry:invite, ledger:invoke, issuers-registry:invite, track-and-trace:authorise) request a credential of a specific type. The other seven -- every combinable scope -- request the same shared self_attestation_credential: a credential the holder issues to itself (iss/vc.issuer -- issuer for a VCDM 2.0 credential -- and sub/credentialSubject.id both equal to its own DID, no termsOfUse), purely to satisfy DCQL's requirement that credentials be non-empty.

The queries are the same for VCDM 1.1 and VCDM 2.0: format stays jwt_vc_json and the holder chooses the version of the Verifiable Presentation it submits (see POST /auth/token).

client_metadata.vp_formats_supported reflects the requested scope(s): most accept a Verifiable Presentation signed with either ES256 or ES256K, but did-registry:invite and track-and-trace:authorise each require one signed with ES256K specifically.

Request​

Responses​

Success