Avatar
UAB Odifis

PID verification (SD-JWT VC)

Use case verification

Description:

Verifies an SD-JWT VC Person Identification Data credential (vct: urn:eudi:pid:1) and returns family name, given name and date of birth.

This is the broadest-compatibility flow — start here if you are testing a wallet against this verifier for the first time.

The request is a signed JAR request object with an x509_hash client identifier (HAIP 1.0 §5), served over request_uri (both GET and POST are supported), and the response is encrypted using direct_post.jwt.

Date of birth is requested here because the EU reference PID no longer carries an age attribute. Where a wallet can attest an age predicate we ask for that instead and never the date of birth — see the driving licence use case, which requests age_over_21.

Run this flow yourself in the live demo — built by PASS2RENT (UAB Odifis).

QR code:

Processing YAML configuration...

Workflow YAML:

		version: "1.0"
name: "PID verification (SD-JWT VC)"

env:
  host: "https://api.playground.france-identite.gouv.fr/odifis/eudi-demo"

tests:
  pid-sd-jwt-vc:
    steps:
      - name: "Create presentation request"
        http:
          method: POST
          url: ${{ env.host }}/api/identity/start
          headers:
            content-type: "application/json"
            accept: "application/json, text/plain, */*"
          json:
            kind: "pid"
            noAv: true
          captures:
            deeplink:
              jsonpath: $.deeplink
            qr:
              jsonpath: $.qrDataUrl
            sessionId:
              jsonpath: $.presentationId
		

DCQL Query:

		{
  "credentials": [
    {
      "id": "pid",
      "format": "dc+sd-jwt",
      "meta": { "vct_values": ["urn:eudi:pid:1"] },
      "claims": [
        { "path": ["family_name"] },
        { "path": ["given_name"] },
        { "path": ["birthdate"] }
      ]
    }
  ]
}
		
enites-esdedapt-brfr