-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service Endpoint Construction inconsistency #61
Comments
I am also facing the same issue somehow, for me, when I followed the algorithm I got the following as an output: but I don't think this correct, because @clehner how did you solve this issue? |
@koptan https://github.com/spruceid/ssi/blob/80a3f24bc721eba38d150c2912443b9a97cfe71e/src/did_resolve.rs#L549 (2021-02-02) This should comply with the examples and the definition of relativeRef https://www.w3.org/TR/2022/REC-did-core-20220719/#did-parameters |
Sorry it took so long to pay attention to this.
Yes, this is correct. The current Service Endpoint Construction algorithm is wrong and needs to be fixed to use |
This was discussed during the #did meeting on 21 November 2024. |
Assigning to myself for now. |
This was discussed during the #did meeting on 30 January 2025. View the transcriptw3c/did-resolution#61Wip: the next one that's ready is 61 markus_sabadello: this one is more complicated Wip: I agree with markus_sabadello, these issues would be great opportunities to get involved |
The example (https://w3c-ccg.github.io/did-resolution/#example-11) is inconsistent with the algorithm (https://w3c-ccg.github.io/did-resolution/#algorithm).
The example says:
But by following the algorithm, I get this as the output URL:
It looks like in the example the
relative-ref
DID parameter is used instead of (or in addition to) the input DID URL path and query.There is also an example in
did-core
(https://w3c.github.io/did-core/#example-9) for "A resource external to a DID Document", using service and relativeRef:Is using
relativeRef
/relative-ref
the way to go? If so, how should it interact with the path component and other query parameters in service endpoint construction?The text was updated successfully, but these errors were encountered: