Avatar
Forkbomb BV [Andrea]

Sicpa Passport Self-issuance

Credential

Description:

Sicpa Passport Self-issuance

From https://ewc.pre.vc-dts.sicpa.com/demo/selfissuance

The whole demo flow

https://ewc.pre.vc-dts.sicpa.com/demo

Requires a Photo ID credential

QR code:

Processing YAML configuration...

Credential properties:

No information available

Credential subject:

No information available

Workflow YAML:

		version: "1.1"
name: Sicpa Self-Issuance

env:
  host: https://ewc.pre.vc-dts.sicpa.com

tests:
  get-deeplink:
    steps:
      - name: Generate self-issuance QR
        http:
          url: ${{ env.host }}/api/fetchSelfIssuanceQrCode
          method: POST
          headers:
            Content-Type: application/json
            Accept: application/json
            Origin: ${{ env.host }}
            Referer: ${{ env.host }}/
          json:
            claims:
              given_name: John
              family_name: Doe
              phone: "123456"
              email_address: john@doe.com
              country_address: IT
              street_address: "Via Le Mani dal Naso, 1"
              postal_code: "1100"
              city_address: Roma
              second_given_name: ""
              second_family_name: ""
            templateId: null
            sessionId: null
          check:
            status: 200
          captures:
            deeplink:
              jsonpath: $.qr
            sessionId:
              jsonpath: $.sessionId

      - name: Decode QR image
        http:
          url: https://aisenseapi.com/services/v1/qrcode_decode
          method: POST
          headers:
            Accept-Encoding: identity
          json:
            payload: "${{captures.deeplink | slice: 22}}"
          check:
            status: 200
          captures:
            deeplink:
              jsonpath: $.qrcode_content
		
enites-esdedapt-brfr