Skip to content

did:web support #12

Open
Open
@electricduck

Description

@electricduck

On ATProto, there are currently two DID methods: did:plc and did:web. I noticed I was unable to login to Ouranos with my did:web account, likely because its assuming a did:plc.

Essentially, instead of looking it up on plc.directory, Ouranous needs to:

  • Resolve the handle to the DID, as normal; this time returning a did:web (e.g. did:web:yot.wtf)
  • Pull out the domain from the did:web (i.e. yot.wtf) — do not use the handle (the domain can differ)
  • Fetch the DIDDoc from the well-known path at the domain (i.e. https://yot.wtf/.well-known/did.json)
  • Use the DIDDoc as if it were a did:plc doc

There are currently ~50 did:web accounts on Bluesky, so you can use that as a guideline for priority

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions