Open MajdT51 opened 2 years ago
@MajdT51 using http binding resolved your DID, but looks like your resolved DIDDocument failed schema validation
@MajdT51 using http binding resolved your DID, but looks like your resolved DIDDocument failed schema validation
yes i managed to pybass the error by adding "|w3.org/ns" -> "pattern": "^https://(w3id.org|www.w3.org/ns|w3.org/ns)/did/v1$" in pkg/doc/did/schema.go
Bug report
What I'm trying to do
resolve web did (did:web:did.actor:alice) which is supported by aries go as far i see: https://github.com/hyperledger/aries-framework-go/tree/main/pkg/vdr/web
Expected result the DID Resolution or Document
Actual result
Sample code / test case
Steps:
make agent-rest-docker
http://localhost:8083/vdr/did/resolve/ZGlkOndlYjpkaWQuYWN0b3I6YWxpY2U=
The error come from this method where it seems that r.vdr include only peer and key
Question: Is there a way to activate the web vdr ?
Using the httpbinding give me this error
HTTP_DID_RESOLVER=web@https://dev.uniresolver.io/1.0/identifiers/ or HTTP_DID_RESOLVER=web@https://api.godiddy.com/0.1.0/universal-resolver/identifiers/
ERROR (http://localhost:8083/vdr/did/resolve/ZGlkOndlYjpkaWQuYWN0b3I6YWxpY2U=) ->
Thanks