Ducky 🦆 @ducky.ws · 02/12/20245/ 3) Fetch the DID Doc from the well-known path of the domain (i.e. 'didd.uk/.well-known/did.json') 4) Consume the DID Doc as if it were a 'did:plc' — from this point on, your code can remain exactly the same 2190
Ducky 🦆 @ducky.ws · 02/12/20246/ And, there you go! You've supported did:web, and made the small minority of us extremely happy. 😊 0220
Ducky 🦆 @ducky.ws · 02/12/20247/ As an extra caveat, ATProto has the possibility to support extra DID methods in the future, so think about this when designing your identity resolving code. Do *not* assume 'did:plc' as the default (i.e. don't use that on an 'else' clause). Futureproof your stuff: your future-self will thank you. 2284