diff --git a/spi/common/identity-did-spi/src/main/java/org/eclipse/edc/iam/did/spi/document/DidDocument.java b/spi/common/identity-did-spi/src/main/java/org/eclipse/edc/iam/did/spi/document/DidDocument.java index 31120774540..5007d42fedd 100644 --- a/spi/common/identity-did-spi/src/main/java/org/eclipse/edc/iam/did/spi/document/DidDocument.java +++ b/spi/common/identity-did-spi/src/main/java/org/eclipse/edc/iam/did/spi/document/DidDocument.java @@ -28,7 +28,7 @@ @JsonDeserialize(builder = DidDocument.Builder.class) public class DidDocument { - public static final String DID_RESOLUTION_CONTEXT = "https://w3id.org/did-resolution/v1"; + public static final String DID_CONTEXT = "https://www.w3.org/ns/did/v1"; private final List service = new ArrayList<>(); @JsonProperty("@context") private final List context = new ArrayList<>(); @@ -101,8 +101,8 @@ public Builder authentication(List authentication) { } public DidDocument build() { - if (!document.context.contains(DID_RESOLUTION_CONTEXT)) { - document.context.add(DID_RESOLUTION_CONTEXT); + if (!document.context.contains(DID_CONTEXT)) { + document.context.add(DID_CONTEXT); } return document; }