agera-edc / MinimumViableDataspace

Guidance on documentation, scripts and integration steps on using the EDC project results
Apache License 2.0
0 stars 2 forks source link

DID Documents: Link to Self-Description #187

Closed zeier closed 2 years ago

zeier commented 2 years ago

Feature #36 After #19, #186

Description

Each DID document should contain the link to the corresponding self-description.

A dataspace participant is identified via its DID document, which serves as the root from which additional information about a participant, like the self-description, can be retrieved.

Acceptance Criteria

Tasks

bscholtes1A commented 2 years ago

Is this still needed?

In https://github.com/eclipse-dataspaceconnector/IdentityHub/pull/23 we introduced the Identity Hub endpoint serving the self-description.

This GET endpoint has URL: IDENTITY_HUB_BASE_URL + /self-description, while IDENTITY_HUB_BASE_URL is already provided as a serviceEndpoint in the DID document.

So as long as, each DID document contains the URL of the identity hub, then it also indirectly contains the URL of the self-description endpoint.

marcgs commented 2 years ago

@bscholtes1A I think this is indeed required for correctness, as it is not mandatory that the self-description document is served by the Identity Hub.