Skip to main content

W3C DIDs Specification: Implement DID Core 1.0 (2026 Guide)

DID Core 1.0 is a W3C Recommendation since 19 July 2022. It fixes DID syntax, the DID document data model and abstract resolution interfaces. A DID method supplies the operational rules, and resolution alone proves no trust.

W3C DIDs Specification: Implement DID Core 1.0 (2026 Guide)

Contents

In this guide

Jump to the part you need.

This guide is for engineers implementing the W3C Decentralized Identifiers (DIDs) specification: pin the version, resolve a DID, check proof purpose, then bind the subject to a verified identity. Resolve DIDs with your chosen method. We charge $0.15 per document check or $0.25 per completed Finnish Trust Network verification, the wallet used in this guide. The caveat: DID Core proves nothing about the subject by itself.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

What you are implementing, at a glance

The four documents an implementation touches
DocumentStatus on November 26, 2026What it fixes
DID Core 1.0 (the DIDs v1.0 specification)W3C Recommendation since 19 July 2022DID syntax, the DID document data model, core properties, representations, method requirements, abstract resolution and dereferencing interfaces
DID Core 1.1Candidate Recommendation Snapshot, 5 March 2026Newer work at a different stage: a consolidated application/did media type and the https://www.w3.org/ns/did/v1.1 base context
DID ResolutionW3C Working Draft, 24 July 2026Algorithm detail for resolution and DID URL dereferencing, with dereferencing marked as a feature at risk
Verifiable Credentials Data Model 2.0W3C RecommendationDefines credentials and presentations. Implementations may use DIDs where their securing mechanism and trust model call for them.

Start free in the sandbox at business.didit.me, with no sales call. The identity check you attach to a DID subject is ID Verification, priced per completed check on the pricing page, and developers can connect Didit to an AI assistant through the MCP server.

Recommended baseline: implement against DID Core 1.0 now, keep 1.1 behind a version flag, and use the provider's verified identity attributes and bind them in your application after independently verifying the person's relationship to the DID.

What the W3C DID Core Recommendation fixes, and what it does not

DID Core 1.0 defines a URI syntax, a common data model, DID documents, core properties, representations, method requirements, and abstract interfaces for resolution and DID URL dereferencing. It became a W3C Recommendation on 19 July 2022. The table dates are the W3C publication dates; check the dated edition before you configure a parser.

It does not require a blockchain, it does not prove a person's legal identity, it does not store credentials inside every DID document, and it does not make every resolved endpoint trustworthy. It standardizes the identifier and the document architecture. A separate DID method defines how a particular DID is created, read, updated and deactivated on its chosen infrastructure.

  • A DID is a URI, not a credential.
  • Subject and controller are different roles, and a verification method has its own controller.
  • Keys need explicit purposes. For a proof, the verifier must confirm that the key is authorized for the specific verification relationship the proof requires.
  • The method supplies the operational rules; DID Core is technology neutral.
  • Resolution does not create trust by itself.

DID syntax and DID URLs

The generic form is did:<method-name>:<method-specific-id>, for example did:example:123456789abcdefghi. The did scheme is fixed, the method name selects the specification, and the method-specific identifier is defined by that specification. A valid-looking DID is not necessarily usable: the method must exist and the resolver must support it.

A DID URL starts with a DID and may add a path, a query or a fragment, for example did:example:123456789abcdefghi/path?service=messages#key-1. The fragment #key-1 commonly selects a verification method. It does not mean the private key is in the document: DID documents publish public verification material or references, and secret material stays in your key management system.

The DID document and its core properties

DID Core 1.0 defines the data model: the document's root id is the DID, and optional core properties describe controllers, alternative identifiers, verification methods, verification relationships and services. In the specification's reserved example space, a document for did:example:123 can list a verification method did:example:123#key-1 and reference it under authentication and assertionMethod.

did:example is reserved for illustrations. Production systems must use a real method and its current verification method suite requirements. Many examples printed inside specifications contain comments or ellipses for readability and must not be copied into a parser.

The type JsonWebKey2020 is illustrative. Check the requirements of the verification method type your method authorizes, and do not express the same verification material in more than one property of a method.

  • id: the DID for the subject, required at the root.
  • controller: one or more DIDs authorized to make changes under the method.
  • alsoKnownAs: other URIs asserted to identify the same subject. An assertion, not cryptographic proof.
  • verificationMethod: public verification mechanisms that relationships reference.
  • authentication, assertionMethod, keyAgreement, capabilityInvocation, capabilityDelegation: the five explicit relationships.
  • service: endpoints or interaction mechanisms associated with the subject.

Expected DID-side checks from the example document

With the document above, accept an authentication proof only after you validate the signature and a fresh challenge with a key authorized under authentication. Reject an assertion that requires assertionMethod if the key is absent from that relationship, even when its signature is valid.

A resolver returning a document is not enough: the relationship check has to be tied to the proof you are validating.

Prerequisites

  • The version you implement, written into configuration: for example DID Core 1.0 with application/did+json or application/did+ld+json, or 1.1 with application/did.
  • The specification of one concrete DID method, read end to end, including its update, deactivation and recovery rules.
  • A resolver that returns resolution metadata and document metadata, not just the document.
  • A key management system that keeps private keys out of the document and supports rotation.
  • A source of verified identity attributes for the subject, with the person's consent to share them.
  • A Didit API key held on your backend only, never in a browser bundle or mobile app.

How to implement DID Core: eight steps

  1. Pin the version. Record which specification version and representation your resolver emits. Do not mix one version's media type with a claim of conformance to the other.
  2. Choose one DID method and read its specification. Test specification maturity and governance, resolver and library interoperability, update and deactivation authorization, key rotation and recovery, historical-state support, privacy and metadata leakage, registry availability and censorship risk, operating cost, cryptographic agility, and your migration path if the method fails.
  3. Validate the DID against that method's syntax. The generic pattern is necessary but not sufficient; the method decides what the identifier means.
  4. Resolve the DID through the method's read operation and keep all three parts of the result.
  5. Validate the document before trusting a field. Validate the root id and its relationship to the requested DID under the selected method. Accept an equivalent or canonical identifier only when that relationship is verified under the method's rules. Each verification method needs id, type, controller and the verification material required by its selected type, no private key material may appear, and the same verification material must not be expressed in more than one property of a method.
  6. Select the verification method by its DID URL and read the verification relationship. Compare identifiers exactly after dereferencing a reference.
  7. Verify the proof and enforce the purpose. A key listed only under authentication is not authorized to sign a credential assertion or to agree on a key.
  8. Bind the subject to a verified identity outside the document. DID Core does not establish the subject's real-world identity. A successful Didit wallet check verifies the identity attributes the provider returned. Bind those attributes only after separately verifying the subject's relationship to the DID.

Step 4 in detail: what resolution returns

resolve takes a DID plus resolution options and returns DID resolution metadata, the data-model DID document (or none) and DID document metadata. resolveRepresentation returns the serialized DID document stream with the same resolution metadata and document metadata. The resolver sits on a security and privacy boundary: it sees which identifiers you look up and may return stale or manipulated state. Check method-result verification, transport and resolver authentication, cache freshness, version and time options, error and downgrade behavior, and behavior during registry or network failure.

The generic procedure is independent of the example document earlier in this guide. Apply the method's read rules, then keep all three parts of the result. did:example is reserved for illustrations; for a real resolution test, use a DID minted by your chosen method and confirm the resolver's metadata matches that method.

Step 6 in detail: proof purposes

What each verification relationship authorizes
RelationshipProof purpose it authorizes
authenticationAuthenticating as the DID subject, for example through challenge and response
assertionMethodExpressing claims, including signing a Verifiable Credential where the securing mechanism uses it
keyAgreementDeriving shared cryptographic material, often for encryption
capabilityInvocationInvoking an object capability
capabilityDelegationDelegating an object capability

Step 8 runnable example: get a verified identity to bind to the subject

The DID document cannot tell you that the subject is a real person or a real business. You get that from a verification result and store the link yourself. These calls are the documented Didit wallet route, using the Finnish Trust Network as the example. Register the return hostname first:

curl --request PATCH --url https://verification.didit.me/v3/webhook/ --header 'x-api-key: YOUR_API_KEY' --header 'Content-Type: application/json' --data '{"allowed_return_hosts": ["app.example.com"]}'

Then start the verification. The request_id it returns is the handle for every later call:

curl --request POST --url https://verification.didit.me/v3/id-verification/wallets/ftn/ --header 'x-api-key: YOUR_API_KEY' --header 'Idempotency-Key: your-unique-attempt-key' --header 'Content-Type: application/json' --data '{"country": "FIN", "return_url": "https://app.example.com/identity/complete", "vendor_data": "your-customer-reference"}'

A successful start only means authentication began. Send the person's browser to wallet_verification.next_action.url when its type is redirect, then read the result from your backend:

curl --request GET --url https://verification.didit.me/v3/id-verification/wallets/verifications/REQUEST_ID/ --header 'x-api-key: YOUR_API_KEY'
Didit Business Console session detail showing the ID document check behind a verified identity
The document check that produces the attributes you bind to a DID subject, shown in the Didit Business Console.

Expected output

The verification result returns the wallet used, its country, an outcome, the identity attributes that were shared, and a simulated flag. Selected fields from the shared wallet response schema, using the schema's example values, not a captured Finnish Trust Network result:

{
  "request_id": "00000000-0000-4000-8000-000000000001",
  "wallet_verification": {
    "outcome": "verified",
    "simulated": false,
    "next_action": null,
    "identity": { "full_name": "Alex Example" }
  }
}

Binding procedure when the person is also the DID controller

A real wallet result verifies the returned identity attributes. It does not establish the relationship between that person and the target DID. If the person is also the DID controller, verify a fresh challenge for the intended application using a method authorized under the target DID's authentication relationship. Correlate that proof and the server-retrieved Didit request_id to the same application attempt and target DID. Create the association only when both checks succeed and the wallet result is verified with simulated set to false. Delegated control requires separate evidence tying the controller to the subject.

Wallet verification outcomes and what you may do with them
OutcomeMeaningAction
pendingAuthentication is still in progressFor Finnish Trust Network, let the user complete the redirect flow and retrieve the result from your backend. Poll only for wallet flows that use phone approval.
verifiedAuthentication completed and the returned identity is verifiedOnly now bind the subject, after the binding procedure above, and only if simulated is false
cancelledThe person or your application cancelledDo not bind; a cancel declines without charging
timeoutThe authentication window expiredStart a new attempt with a new idempotency key
failedAuthentication or identity validation failedDo not bind. If you need configured document fallback, use a hosted Sessions API workflow with that fallback enabled.
A session overview with its warnings in the Didit Business Console
A session overview with warnings: this is the evidence you attach to a DID subject, not something the DID document contains.

Inputs and outputs

Inputs and outputs for the interfaces in this guide
InterfaceInputReturns
resolveA DID plus resolution optionsDID resolution metadata, the data-model DID document or none, DID document metadata
resolveRepresentationA DID and resolution options. Use the accept option to request a media type.DID resolution metadata, a serialized DID document stream or none, and DID document metadata. On success, contentType in resolution metadata identifies the returned media type.
DID URL dereferencingA complete DID URL plus dereferencing optionsDereferencing metadata, the identified resource if available, content metadata
Didit wallet verification (start)country, return_url, vendor_data, API key, idempotency keyrequest_id, wallet_verification.next_action
Didit wallet verification (result)request_id, API keyoutcome, identity, simulated, expires_at

Failure cases and recovery

  • The resolver does not support the method. Treat it as a resolution error and do not fabricate a document. Route to a resolver that lists the method, or reject the DID in your policy.
  • The fragment is not found in the document. Dereferencing fails. Compare the exact DID URL string; do not normalize a fragment before lookup.
  • The key exists but under the wrong relationship. Reject the proof. Never promote a key to the purpose you needed.
  • Private key material appears in a document. Treat the key as compromised, rotate it through the method's update operation, and log the event.
  • A cached document produces a failed proof. For current authentication, refresh the latest method-verified DID state and reject a proof if the key is absent from the required relationship. Use historical resolution only when verifying a historical proof under an explicit time and revocation policy.
  • A wallet result is replayed. Reject a wallet result or proof presented again for a different application attempt or target DID. The proof must be fresh for the intended application and correlated server-side.
  • The verification reference is mismatched. Fetch the Didit result from your backend and compare its request_id, the target DID and the application attempt before creating any association. If they do not all match, do not bind.
  • The DID is deactivated. Reject authentication and assertion for a deactivated DID, and do not bind a new identity to it.
  • If the wallet start request rejects the return destination, check that return_url uses HTTPS and its exact hostname is registered in allowed_return_hosts. Register each subdomain separately. Updating the list replaces it, so include every hostname you want to keep.
  • simulated is true. The result is simulated. Create a production binding only when the outcome is verified and simulated is false.
  • The wallet is marked Coming soon in your environment. It cannot be enabled, and a workflow that enables it is rejected on save.

The estimates below cover Didit checks at USD list prices. Any cost of your application's chosen DID method or resolver sits outside the estimate.

  • ID document verification: $0.15 per check. User Verification full ID check with passive liveness, face match and device and IP analysis: $0.33 per completed check.
  • Digital ID wallet sign-in: priced per completed verification, with the rate set by the wallet, $0.10 for Google Wallet, $0.20 for BankID Sweden and Bank iD, $0.21 for Smart-ID and Mobile-ID, $0.25 for MitID and the Finnish Trust Network, $0.95 for iDIN.
  • AML screening: $0.20 per check. Ongoing AML monitoring: $0.07 per person a year.
  • Free on every plan: the sandbox, the Workflow Orchestrator, reusable KYC and the MCP server.

The boundary is the verification result: bind only when the outcome is verified and simulated is false, after the DID-controller check above. In this standalone wallet example, your application decides whether the result requires further review.

AML screening result for a session in the Didit Business Console
AML screening is a separate check you can attach to the same identity binding.

Worked cost example

Say 5,000 new users a month in Denmark sign in with MitID and you run an AML check on each one, all at list prices.

MitID: 5,000 × $0.25 = $1,250. AML screening: 5,000 × $0.20 = $1,000. Total: $2,250 per month, which is $0.45 per user.

The same population with a full ID check instead of the wallet: 5,000 × $0.33 = $1,650, plus $1,000 for AML, totaling $2,650 per month, or $0.53 per user. This alternative is a full ID check: document verification alone costs $0.15, so it is not the same comparison.

Your application resolves the DID in both cases, so resolution does not appear in either figure.

Privacy checks the specification leaves to you

DID documents can be widely replicated, so no personal data belongs in a public one. Public service endpoints also create correlation: reusing one endpoint across pairwise DIDs defeats the reason you issued separate identifiers. And a resolver is a privacy boundary that sees every identifier you look up, so choose it with the same care as the registry behind it.

When a DID identifies a credential issuer, a verifier might resolve the issuer's DID, locate the proof's verification method and confirm it is authorized under assertionMethod. That cryptographic check still does not establish that every credential claim is true, that the issuer is trusted for that claim, that the credential is current, or that the presenter is the subject. Those checks belong to the securing mechanism, the status system, the presentation binding and your policy.

Sources

Next step: open the sandbox at business.didit.me, run one wallet verification with a test key, and write the binding rule before you write the resolver.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

Is the W3C DID Core specification a Recommendation?

Yes. DID Core 1.0 reached W3C Recommendation on 19 July 2022, the final stage of the W3C process for that version. Later 1.1 work sits at an earlier stage and does not replace it.

What is the status of the DID Core Recommendation in 2026?

Two documents carry the name. DID Core 1.0 remains the Recommendation from 19 July 2022. DID Core 1.1 was published as a Candidate Recommendation Snapshot on 5 March 2026, which is standards-track work at a different stage. Treat them as separate contracts between producers and consumers.

Where is the W3C DID Core specification published?

The Recommendation is published at w3.org/TR/did-core, the 1.1 snapshot at w3.org/TR/did-1.1, and the resolution work at w3.org/TR/did-resolution. Pin the version you read, because the media types and base contexts differ.

Does the DID specification require a blockchain?

No. DID Core is technology neutral and defines no registry. The DID method chooses the verifiable data registry, which can be a distributed ledger, a decentralized filesystem, a peer-to-peer network, a database or another system. Judge the method on governance, availability, authorization, privacy, cost, history and attack resistance rather than on the word decentralized.

What is the difference between a DID and a DID document?

A DID is a URI of the form did:method:identifier that identifies a subject. The DID document is the data associated with that subject, with the DID as its root id, carrying verification methods, relationships and services. The string alone tells you nothing about who or what the subject is.

What is the difference between the DID subject and the DID controller?

The subject is what the DID identifies; the controller is the entity authorized under the method to change the DID document. They can be the same entity but do not have to be: a parent can control a DID for a child, or an organization can control one for a device. A verification method also has its own controller, which is not automatically the top-level controller.

What is the difference between DID resolution and DID URL dereferencing?

Resolution takes a DID and returns resolution metadata, a DID document and document metadata. Dereferencing takes a complete DID URL including any path, query or fragment, and returns the identified resource with its own metadata. Dereferencing usually starts by resolving the base DID, but it is not the same operation.

Does resolving a DID prove who the subject is?

No. Resolution applies the DID method's rules and returns the resulting DID document when resolution succeeds. A method may derive the document instead of retrieving it from storage. It does not prove that the subject is a real person, that claims about them are true, or that a service endpoint is trustworthy. Those checks come from the securing mechanism, the issuer's proof, the credential status system and your own policy.

What media type should a resolver return for a DID document?

Check the dated edition you implement. Under DID Core 1.0, application/did+json and application/did+ld+json, with the base context https://www.w3.org/ns/did/v1 for the JSON-LD form. Under the 1.1 Candidate Recommendation Snapshot, the core media type is consolidated to application/did with base context https://www.w3.org/ns/did/v1.1. Negotiate and validate the representation explicitly.

Does the Didit wallet API resolve or issue a DID in this integration?

No. Our documented wallet API returns the verification outcome and the identity attributes the user shared. Your application handles DID creation, resolution and binding.

What does the identity check behind a DID subject cost?

A full ID check is $0.33 per completed check: ID document verification $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03. A digital ID wallet sign-in is priced per completed verification, with the rate set by the wallet, for example $0.10 for Google Wallet, $0.25 for MitID and the Finnish Trust Network, and $0.95 for iDIN; the feed also publishes rates for methods marked Coming soon, and AML screening is $0.20 per check. This integration charges for those identity checks; your application handles DID creation, resolution and the association with the result.

Can I wire this up with an AI assistant?

You can connect an AI assistant to our hosted MCP server using OAuth. We do not document a DID Core connector. Use the documented standalone wallet API for identity verification and implement DID resolution and proof-purpose checks in your application.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.