Avatar
Forkbomb BV [Andrea]

Credenco fake pid

Use case verification

Description:

FAKE PID

Generated using: https://wallet.acc.credenco.com/

QR code:

Processing YAML configuration...

Workflow YAML:

		version: "1.1"
name: Credenco Test Verifier

env:
  tokenEndpoint: https://iam.acc.credenco.com/realms/organization-wallet/protocol/openid-connect/token
  verifierEndpoint: https://wallet.acc.credenco.com/api/v1/oid4vp/backend/auth/requests
  verifierTemplateKey: credenco-fake-pid

tests:
  get-deeplink:
    steps:
      - name: Authenticate with Credenco
        http:
          url: ${{ env.tokenEndpoint }}
          method: POST
          headers:
            Content-Type: application/x-www-form-urlencoded
            Accept: application/json
          form:
            grant_type: client_credentials
            client_id: ${{ secrets.clientId }}
            client_secret: ${{ secrets.clientSecret }}
          check:
            status: 200
          captures:
            accessToken:
              jsonpath: $.access_token

      - name: Generate presentation request
        http:
          url: ${{ env.verifierEndpoint }}
          method: POST
          headers:
            Authorization: "Bearer ${{ captures.accessToken }}"
            Content-Type: application/json
            Accept: application/json
          json:
            query_id: ${{ env.verifierTemplateKey }}
          check:
            status: 200
          captures:
            deeplink:
              jsonpath: $.request_uri
            statusUri:
              jsonpath: $.status_uri
            correlationId:
              jsonpath: $.correlation_id
		

DCQL Query:

No information available

enites-esdedapt-brfr