demo · v133

DC Presentation

Ask a wallet to present a credential — driver's license, mDL, age proof — via navigator.credentials.get({ digital }). The page builds the request, fires it, and shows the wallet's response.

Behind a flag in Chrome 133. Enable chrome://flags/#web-identity-digital-credentials or join the Digital Credentials origin trial. Without a registered wallet the call will reject; the demo logs the exact rejection.
click "request credential"

checking support…

the code

const result = await navigator.credentials.get({
  digital: {
    requests: [{
      protocol: "openid4vp",
      data: { /* protocol-specific request — DCQL, presentation_definition, etc. */ },
    }],
  },
});
// result.data is the wallet's signed VP/mdoc response.

see also