OP#119 Prepare dashboard for Hackathon
Acceptance criteria
- prepare simple dashboard user can login with VC by using his mobile phone
- VC will be issued upfront by https://ssi-dev.vereign.com/api-issuer
- we will use our VCM from production stores
- domain where dashboard should be hosted https://swiss-smart-energy.vercel.app
- When user is logged in , it should see the credential data:
- first and last name
- token(ID)
- email(not mandatory)
- on the dashboard toggle button should be available and up on enabling it must make a call to:
curl --location --request PATCH 'https://energydataspace.trustrelay.io/consent-api/collection/data-inventories/ce266dcf-d8db-4eef-adff-48f4336a2f7c/subjects/09d5a582-701f-4c17-bb17-e16a244ef7a3/consent' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer RhCdgfhYBLM6om55x6kG' \
--data '{
"purpose":"271f54fb-f0db-448c-9c09-59bda042a99d",
"expires":true,
"expiresAt":"2024-12-31T23:59:00Z",
"isEnabled":false
}'