did:web 101 (a thread)
So, looks like someone sent you to this post because your app doesn't support did:web. That's cool, it's relatively easy to fix.
So, looks like someone sent you to this post because your app doesn't support did:web. That's cool, it's relatively easy to fix.
Comments
* https://github.com/afternooncurry/bsky-did-web (š @afternooncurry.net)
* https://bskydidweb.pages.dev/ (š @goeo.lol)
* You cannot migrate between DID methods: your DID is tied to your account forever
* Be wary of potential domain/TLD takedowns (see: .io fiasco). If you lose that domain, you lose the account. Stick to the registrar policies and don't be 100% trustful of ccTLDs/gTLDs
1) Resolve the handle to the DID, as normal; this time, the DID will return as 'did:web...' instead of 'did:plc:...' (e.g. @didd.uk is 'did:web:didd.uk')
2) Pull out the domain from the 'did:web:...' (i.e. 'didd.uk') ā do not assume the domain is the same as the handle
4) Consume the DID Doc as if it were a 'did:plc' ā from this point on, your code can remain exactly the same