Avatar
Forkbomb BV [Andrea]

Credenco fake pid

Credential

Description:

FAKE PID

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

QR code:

Processing YAML configuration...

Credential properties:

No information available

Credential subject:

No information available

Workflow YAML:

		version: "1.1"
name: Credenco Test Issuer

env:
  tokenEndpoint: https://iam.acc.credenco.com/realms/organization-wallet/protocol/openid-connect/token
  issueEndpoint: https://wallet.acc.credenco.com/api/v2/credential/issue

  # Inject these from Credimi's server environment/secrets.


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 credential offer
        http:
          url: ${{ env.issueEndpoint }}
          method: POST
          headers:
            Authorization: "Bearer ${{ captures.accessToken }}"
            Content-Type: application/json
            Accept: application/json
          json:
            template_id: cred1
            claims:
              first_name: Andrea
              family_name: D'Intino
          check:
            status: 200
          captures:
            deeplink:
              jsonpath: $.request_uri
            correlationId:
              jsonpath: $.correlation_id
            statusUri:
              jsonpath: $.status_uri
		
enites-esdedapt-brfr