Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

did:web support #12

Open
electricduck opened this issue Nov 29, 2024 · 0 comments
Open

did:web support #12

electricduck opened this issue Nov 29, 2024 · 0 comments

Comments

@electricduck
Copy link

electricduck commented Nov 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant