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

DidDocUri not created correctly when did:web contains path #355

Closed
lainean opened this issue Oct 24, 2023 · 2 comments
Closed

DidDocUri not created correctly when did:web contains path #355

lainean opened this issue Oct 24, 2023 · 2 comments
Labels

Comments

@lainean
Copy link

lainean commented Oct 24, 2023

Hi walt.id team! According to the documentation in walt.id docs for did:web:example.com:user:alice the did document should be installed at https://example.com/.well-known/user/alice/did.json. But in DidWeb.kt the getDidDocUri function lacks the /.well-known part when did has a path:
else -> URI.create("https://${getDomain(didUrl)}/${path}/did.json")
Shouldn't it be more like this:
else -> URI.create("https://${getDomain(didUrl)}/.well-known/${path}/did.json")

@waltkb
Copy link
Collaborator

waltkb commented Nov 26, 2023

#362

Copy link
Contributor

This issue has been marked as stale.

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

No branches or pull requests

2 participants