w3c-ccg / did-method-web

DRAFT: did:web Decentralized Identifier Method Specification
https://w3c-ccg.github.io/did-method-web/
Other
32 stars 17 forks source link

Add possibility to expose multiple identities under the same domain name #2

Closed jloic closed 4 years ago

jloic commented 5 years ago

Since virtually every other did-resolver is able to expose multiple identities, I'd like to use a single domain to expose multiple DID. Accepting a path after the domain name would go a long way, but if it clashes then we can split the path with something different. Example: "did:web:my.domain.com|{uuid}" that would resolve to

gribneau commented 4 years ago

I've suggested adding a parameter to the well-known URL rather than changing it. https://github.com/w3c-ccg/did-method-web/pull/4

dmitrizagidulin commented 4 years ago

I think the DID:web method should support both:

gribneau commented 4 years ago

I agree, particularly with the arbitrary path case above.

I would be happy to contribute a definition for that, if you like. (I've actually been working on it separately.)

dmitrizagidulin commented 4 years ago

@gribneau Go for it, that would be great! :)

dmitrizagidulin commented 4 years ago

(The discussion continues on PR #5.)

OR13 commented 4 years ago

Demo: https://did-web.web.app/ (uses 302 redirect for both variants).

dmitrizagidulin commented 4 years ago

Implemented in PR #5, closing.