Informatievlaanderen / VSDS-LDES-E2E-testing

End-to-end tests and tooling needed for testing LDES components build as part of VSDS
European Union Public License 1.2
5 stars 2 forks source link

fix: updated keys and configs to match identity-hub requirements #409

Closed alperbasak closed 6 months ago

alperbasak commented 6 months ago
curl --location --request POST 'localhost:19195/authority/registry/participant' \
--header 'Authorization: Bearer eyJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJkaWQ6d2ViOmRpZC1zZXJ2ZXI6Y29uc3VtZXIiLCJzdWIiOiJkaWQ6d2ViOmRpZC1zZXJ2ZXI6Y29uc3VtZXIiLCJhdWQiOiJodHRwOi8vcHJvdmlkZXItY29ubmVjdG9yOjgxODAvYXV0aG9yaXR5IiwiZXhwIjoxNzkwOTgzNTU4fQ.c3347tllHp_6Tb4d2AjgUe0Atrps_I9HzRTaY5gK1y-wdOTyQMgwKbn6CDpVTiRi5aUdGFTDR9uhXpQ-uGx0nw'

see jwt for the payload

Then to check VCs of the consumer connector (after successful registration you should get base64 encoded JWT):

curl --location 'localhost:29191/api/identity-hub' \
--header 'Content-Type: application/json' \
--data '{
    "messages": [
        {
            "descriptor": {
                "method": "CollectionsQuery"
            }
        }
    ]
}'

see jwt for generated VC