DID Configuration (domain linkage)

Live · spec-accurate IANA · provisional

/.well-known/did-configuration.json

Standard: DIF Well Known DID Configuration

A signed credential that cryptographically links a DID to the domain that serves it.

What it is

DID Configuration proves the entity behind a DID also controls the domain: the domain serves a JSON file containing a signed JWT (a DomainLinkageCredential) whose credentialSubject includes the origin. Anyone can verify the JWT signature with the DID's key and check the origin matches the serving host.

The threat it addresses

Nothing stops someone from claiming a DID belongs to example.com. Domain linkage closes the gap: the JWT is signed by the DID's key and served from the domain, so both sides of the binding are independently verifiable — the web of trust version of proving 'this domain and this DID are the same actor'.

How it works

  • The server signs a domain-linkage JWT with its Ed25519 key (iss/sub = did:web:<host>, credentialSubject.origin = this origin).
  • The JWT is wrapped in /.well-known/did-configuration.json under linked_dids.
  • A verifier fetches the file, resolves the DID, verifies the signature, and checks the origin claim against the serving host.

Try it

Live demo

Real signed JWT — verifiable with the key published at /.well-known/jwks.json and did.json

Content-Type: application/json; charset=utf-8
{
  "@context": "https://identity.foundation/.well-known/contexts/did-configuration-v0.0.jsonld",
  "linked_dids": [
    "eyJhbGciOiJFZERTQSIsImtpZCI6IndlbGwta25vd24tc2hvd2Nhc2UtZGVtby0xIiwidHlwIjoiSldUIn0.eyJzdWIiOiJkaWQ6d2ViOndlbGwta25vd24ucGFnZSIsImlzcyI6ImRpZDp3ZWI6d2VsbC1rbm93bi5wYWdlIiwibmJmIjoxNzk1OTc5NDUyLCJqdGkiOiJ1cm46dXVpZDo2OGYzNGZiMi04N2QxLTQxYzItOGFhNS1kZjUwYTZjMWQ2NzQiLCJleHAiOjE3OTg1NzE0NTIsInZjIjp7IkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIiwiaHR0cHM6Ly9pZGVudGl0eS5mb3VuZGF0aW9uLy53ZWxsLWtub3duL2NvbnRleHRzL2RpZC1jb25maWd1cmF0aW9uLXYwLjAuanNvbmxkIl0sImlkIjoiaHR0cHM6Ly93ZWxsLWtub3duLnBhZ2UvLndlbGwta25vd24vZGlkLWNvbmZpZ3VyYXRpb24uanNvbiIsInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJEb21haW5MaW5rYWdlQ3JlZGVudGlhbCJdLCJpc3N1ZXIiOiJkaWQ6d2ViOndlbGwta25vd24ucGFnZSIsImlzc3VhbmNlRGF0ZSI6IjIwMjYtMTEtMjlUMTk6MTA6NTIuOTM3WiIsImNyZWRlbnRpYWxTdWJqZWN0Ijp7ImlkIjoiZGlkOndlYjp3ZWxsLWtub3duLnBhZ2UiLCJvcmlnaW4iOiJodHRwczovL3dlbGwta25vd24ucGFnZSJ9fX0.SXfQOa3JUflD6X9TQYFouzwppSPvH9ky4qfYL2EUASnl_aPMR69Eigdcb2-iBnpXm7AzjpukyJ4pSHfzpBY-AA"
  ]
}