demo · v133
DC Issuance
Build an issuance request, fire it through navigator.credentials.create({ digital }), and inspect what the browser hands back. Behind a flag in Chrome 133.
Origin trial / behind a flag. Enable
chrome://flags/#web-identity-digital-credentials and join the origin trial for issuance. Without it the call will reject with NotSupportedError; the demo logs whatever the browser actually returned.
click "create credential"
checking support…
the code
const result = await navigator.credentials.create({
digital: {
requests: [{
protocol: "openid4vci",
data: { credential_issuer: "https://issuer.example/oid4vci", types: ["VerifiableCredential"] },
}],
},
});
// result is a DigitalCredential carrying the wallet's response.