Skip to content
IAM Insights

Explainers · Glossary

Digital Credentials API

W3C Digital Credentials API · DC API

By Boston Identity · Explained · 6 min read

The short answer

The Digital Credentials API is a W3C browser interface, still a draft, that lets a website ask for a digital credential such as a driving licence. The browser checks the request, and the user chooses whether a wallet answers.

What it is
A standard
Defined by
W3C Working Draft, 5 November 2026
Who it's for
Teams checking identity or age online
In our briefings
9By month of the source: 2025-12: 1, 2026-01: 0, 2026-02: 0, 2026-03: 0, 2026-04: 0, 2026-05: 0, 2026-06: 1, 2026-07: 0, 2026-08: 1, 2026-09: 1, 2026-10: 0, 2026-11: 22by month, last 12

Where it stands

Working Draft since Jul 1, 2025.

Checked Nov 29, 2026.

01

What is Digital Credentials API?

Suppose your team must confirm that a customer is over 18 before an order goes through. The quick build asks for a photo of a driving licence. Now your systems hold a whole identity document when you needed one fact, and a leak of that store would be your breach. The draft names this pattern, collecting a user's entire national identity document for age verification, as a request for too much information.§11.4

The Digital Credentials API (application programming interface) is the World Wide Web Consortium's (W3C) design for the browser's part of that exchange. It lets a website ask the browser for a digital credential, such as a driving licence.§1 Its scope includes making sure that no installed wallet learns anything about a request unless the user agrees to use that wallet.§3 It is a Working Draft, not yet a standard, and the document says it may be updated, replaced or obsoleted at any time.S1

What the browser cannot see may surprise you. The draft's goals require requests to be unencrypted so the browser can inspect them for risk, and they assume the responses are encrypted.§1 So the browser may reject a request, but the draft says that, because of response encryption, the browser cannot guarantee that no linkable information passes between the website and the wallet.§11.3.1.2

Not a wallet and not a credential format. The draft leaves how wallets store and manage credentials out of scope, and it is designed to work whatever format the credential uses.

02

How does Digital Credentials API work?

Four parties take part: the website asking for the credential (the verifier), the browser (the draft's "user agent"), the user, and the wallet that holds the credential (the draft's "credential manager"). This walk-through follows a presentation, where a site asks to be shown a credential.

Figure steps
  1. The website asks the browser
  2. The browser filters, then checks for a click
  3. The browser validates the requests
  4. The user chooses
  5. The wallet answers through the browser
  6. The website's server decrypts and verifies
Fig. 1

The browser sits between the verifier's page and the wallet: it checks the request on the way in, and passes the wallet's response back to the page.

Drawn from the W3C Working Draft, sections 2.3 and 6

Swipe for the full figure →

  1. The website asks the browser

    The verifier's page calls navigator.credentials.get() with one or more requests. Each request names a presentation protocol and carries that protocol's request data.§2.3,§7.3 Before the call, the page can use userAgentAllowsProtocol() to see whether the browser allows a protocol.§2.2

  2. The browser filters, then checks for a click

    The browser drops any request whose protocol it does not allow. If none is left, it rejects the call.§8.1,§6.3 It then checks that a recent user action lies behind the call, which the draft calls transient activation, and that no other credential request is in progress. If either check fails, it rejects the call with a NotAllowedError.§6.2

  3. The browser validates the requests

    The browser validates each request's data according to its protocol. It may also apply its own policy or the user's choices, for example rejecting a request that seeks particular credential attributes.§6.4 A refusal on those grounds returns a NotAllowedError, which a note in the draft calls deliberately indistinguishable from the error returned when the user cancels.§6.4

  4. The user chooses

    The browser displays a chooser, which the platform provides, and passes it the requests and the top-level site's origin. The user selects a credential or a wallet that can fulfil the request, or cancels.§6.7 When the wallet is on a different device, the draft recommends that the browser use the Client to Authenticator Protocol to reach it.§6.7

  5. The wallet answers through the browser

    The wallet returns its response as a string. The browser parses it and, if the result is an object, resolves the page's call with a DigitalCredential that carries the response data and the protocol used.§6.7 A note in the draft says the platform decides which request to forward to the wallet, and the browser does not necessarily know which one was selected.§6.7

  6. The website's server decrypts and verifies

    In the draft's own example, the page posts the credential back to the verifier's server for decryption and verification.§2.3 The privacy section says responses should be decrypted on the verifier's server, so the verifier can keep the decrypted information away from scripts in the page.§11.5.1

03

Why does Digital Credentials API matter now?

The Working Draft dated 5 November 2026 says browsers must support every presentation protocol in its table.§5,1 Those are OpenID for Verifiable Presentations (OpenID4VP) 1.0 with unsigned, signed and multi-signed requests, and Annex C of ISO/IEC 18013-7:2025, the mobile driving licence add-on.1 The draft's reason is that a verifier can then rely on the API whatever credential format or request mode it uses.1 Support for the one issuance protocol listed is only recommended.1

Heather Flanagan, who works with the W3C's Federated Identity Working Group, reports that the group agreed in Dublin to organise the API into levels and to move much of credential issuance into level two.2 In her account, there is no committed timeline for a second browser to implement issuance, and the agreements still have to be turned into specification changes.2 She also says privacy remains one of the most significant obstacles to candidate recommendation, a step on the way to a W3C recommendation.3

Researchers at the University of Stuttgart proved three security properties of OpenID4VP run through this API, for the drafts they analysed, and reported no new vulnerabilities.4 Their proofs leave out credential issuance, and the report does not discuss privacy.5 A formal objection to adding the API to the working group's charter raised credential-gated web access among its concerns. The W3C Council overruled it while recommending that the group take the concerns into consideration.6

04

Where does it fit?

Compared withHow Digital Credentials API differs
OpenID for Verifiable PresentationsOpenID4VP is a presentation protocol: it defines the request a verifier sends and the response a wallet returns. The API is the browser channel that carries them, and the draft says browsers must support three OpenID4VP 1.0 request modes.
OpenID for Verifiable Credential IssuanceOpenID for Verifiable Credential Issuance is an issuance protocol, for putting a credential into a wallet. The API carries an issuance request through navigator.credentials.create(), but the draft only recommends that browsers support it, and the table's section reference for it reads "Coming Soon".
05

What goes wrong?

  • An unsigned request can be altered by a script in the verifier's own page, such as one injected by a malicious browser extension. The script can widen what is asked for, or replace the encryption parameters so the response is encrypted to the attacker.§10.4 The draft strongly encourages a verifier to sign requests where the protocol offers a way.§10.4
  • Signing helps only if the wallet can check the signature against a key already recognised as the verifier's. Which keys to accept is decided by the ecosystem a credential belongs to, not by the draft.§10.4
  • The API cannot govern how a wallet behaves once the user authorises it to handle a request. A wallet that leaks data or ignores user consent is listed as an out-of-scope threat.§10.1.2
  • After the user gives permission, the draft says it is impossible for the browser to ensure the issuer is not involved in the exchange. From that point the wallet owns the decision.§11.3.1.3
  • The browser's permission prompt is not consent, which has legal definitions that vary. The draft says consent may need to be collected by the wallet or by the verifier.§11.6.4
  • The security and privacy sections are non-normative, and the privacy section is marked a work in progress.§10,§11
  • The Stuttgart proofs treat cryptography as perfect. If a wallet or issuer is corrupted, the properties make no claim about it.7
06

What should a security leader ask?

  1. 01

    Which of our sign-up or checkout flows would ask for a government-issued credential, and what is the least we could ask for in each?

  2. 02

    Do we sign our presentation requests, and how would the wallets our customers use come to recognise the signing key as ours?

  3. 03

    Where do we decrypt the wallet's response: on our server, or in page code that an injected script could read?

  4. 04

    Which wallets will we accept, and who vets them, given that the browser cannot govern a wallet once the user picks it?

  5. 05

    What do we offer a customer who has no digital credential, or who declines to share one?

07

Sources

›Evidence: 7 claims from 4 briefings
  1. 1BI-FIND-2026-2230 · The W3C's Digital Credentials draft says no single party can solve over-asking for government IDsBrowsers MUST support every presentation protocol in the draft's table: OpenID for Verifiable Presentations (OpenID4VP) 1.0 with unsigned, signed and multi-signed requests, and Annex C of ISO/IEC 18013-7:2025, the mobile driving licence add-on. The draft's rationale is that a verifier can then rely on the API whatever credential format or request mode it uses, and that browsers will not each allow a different subset. Support for the one issuance protocol listed, OpenID for Verifiable Credential Issuance 1.0, is only RECOMMENDED, and the table's section reference for it reads "Coming Soon".
  2. 2BI-FIND-2026-2295 · Digital Credentials API: W3C group defers much of issuance to level two, Heather Flanagan reportsHeather Flanagan, who works with the W3C's Federated Identity Working Group, reports that the group agreed at TPAC in Dublin to organize the Digital Credentials (DC) API into levels, following the approach WebAuthn uses; she calls it "essentially versioning". Level one is the functionality needed for an initial interoperable version. The most significant decision, in her account, was to move much of credential issuance into level two: there is no committed timeline for a second browser to implement issuance, and keeping it in level one would make advancing the specification considerably harder. Conditional invocation and more general ways of providing invocation context also move to level two. She says the group is not abandoning those capabilities, and that the agreements still have to be turned into specification changes.
  3. 3BI-FIND-2026-2296 · Digital Credentials API: W3C group defers much of issuance to level two, Heather Flanagan reportsFlanagan says the TPAC meetings confirmed that privacy remains one of the most significant obstacles to advancing the DC API to candidate recommendation, a step on the way to a W3C recommendation. Several open issues, in her account, involve protections that depend at least partly on behavior outside the browser API. Selective disclosure is her example, and she says similar questions arise around user-initiated credential presentation, purpose limitation and abuse of credential requests. The browser may not understand which attributes a credential contains or what will be disclosed, and to her own question of what the API can realistically guarantee about selective disclosure, she answers "I don't know." The working group plans to bring editors and privacy experts together for a focused discussion, which she expects to be very challenging.
  4. 4BI-FIND-2025-0329 · Formal proofs find no new flaws in OpenID4VP over the Digital Credentials API, for a March 2025 draftFabian Hauck, Pedram Hosseyni, Ralf Küsters and Tim Würtele of the University of Stuttgart proved three security properties of OpenID for Verifiable Presentations (OpenID4VP) run through the W3C Digital Credentials API, and report that "no new vulnerabilities were identified during the verification process." The text they analysed is the OpenID4VP editor's draft of 27 March 2025 (commit b0d6812), which they say matches draft 25 in the parts they modelled, paired with the Digital Credentials editor's draft of 20 February 2025. The report does not mention OpenID4VP 1.0 Final. The properties are verifier authentication, stated for signed requests; wallet authorization, meaning that when an honest verifier accepts a presentation and the wallet holding the credential's key is honest, that wallet made it; and claims unforgeability. Formally, the last one says that when an honest verifier logs a user in, and that user's wallets and the credential's issuer are honest, the verifier accepted a presentation one of those wallets made; if every party near that wallet is also honest, the attacker cannot learn the new session cookie. The model's verifier never looks that session up again, so nothing is proved about how it is used later. The properties hold for that draft, inside a formal model of the web and under its assumptions.
  5. 5BI-FIND-2025-0331 · Formal proofs find no new flaws in OpenID4VP over the Digital Credentials API, for a March 2025 draftBy agreement with the OpenID Foundation, the proofs leave out credential issuance (wallets start with valid credentials), session integrity, the transaction_data parameter, verifier attestation and every response type other than vp_token. The authors also simplify other parts and argue each simplification is safe: the model ignores credential query languages and lets the wallet pick any credential, sends requests unencrypted, never signs or encrypts responses, and passes request parameters by value. As the authors describe the method, it usually excludes cross-site scripting and flaws in cryptographic primitives and their implementations. Credentials are abstract signed terms, so no particular credential format is analysed, and the report does not discuss privacy.
  6. 6BI-FIND-2026-2272 · A W3C group's draft counts login with another issuer's credential as an issuer-controlled path to account accessThe draft says some harms cannot be prevented by credential design alone. Its centralization pathway, P-007, notes that "a technical credential design cannot by itself prevent Web services or governance bodies from making institutional credentials a condition of participation". Its candidate response, keeping an access path that needs no digital credential where exclusion, surveillance or loss of participation would be a material harm, comes with a warning: such alternatives "may be weaker, stigmatizing, slower, or unavailable in practice unless deployment policy makes them meaningful". Credential-gated Web access was one of five concerns the appendix takes from the formal objection to adding the Digital Credentials API to the Federated Identity Working Group's charter. The appendix treats it as a socio-technical threat and records that the W3C Council overruled the objection while recommending that the Working Group take the concerns into consideration.
  7. 7BI-FIND-2025-0330 · Formal proofs find no new flaws in OpenID4VP over the Digital Credentials API, for a March 2025 draftThe Stuttgart proofs treat cryptography as perfect and have no notion of time, so expiry is never checked. The method usually assumes the protocol is implemented as specified, and the authors assume a working Web PKI, a browser that takes Digital Credentials API requests only from HTTPS origins, and a wallet that obtains the correct metadata for a verifier's client ID. Each property also takes named parties as honest. Claims unforgeability assumes an honest verifier, an honest issuer and honest wallets for the user, and its last part, that an attacker cannot learn the login session's cookie, also needs every party near the wallet to be honest. If a wallet or issuer is corrupted, the properties make no claim about it.

›In our briefings

What our briefings say about Digital Credentials API itself, with the most direct claims first.

  1. Over the browser's Digital Credentials API, the wallet answers a web origin, not a client identifier. The presentation's audience must be the Origin the browser reports, prefixed "origin:", even when the request is signed. An unsigned request must leave out client_id, and the wallet must ignore one if it is there. Signing is optional, used "for example, when identification and authentication of the Verifier is required", and how the request and Origin reach the wallet is platform-specific and outside the spec. We read the phishing resistance this mode claims as the browser's or operating system's, which holds only where one of them sits between verifier and wallet.

    OpenID4VP 1.0 makes verifiers re-check what a wallet returns, and cannot show a holder acting for someone elseBI-FIND-2025-0149

  2. Flanagan says the TPAC meetings confirmed that privacy remains one of the most significant obstacles to advancing the DC API to candidate recommendation, a step on the way to a W3C recommendation. Several open issues, in her account, involve protections that depend at least partly on behavior outside the browser API. Selective disclosure is her example, and she says similar questions arise around user-initiated credential presentation, purpose limitation and abuse of credential requests. The browser may not understand which attributes a credential contains or what will be disclosed, and to her own question of what the API can realistically guarantee about selective disclosure, she answers "I don't know." The working group plans to bring editors and privacy experts together for a focused discussion, which she expects to be very challenging.

    Digital Credentials API: W3C group defers much of issuance to level two, Heather Flanagan reportsBI-FIND-2026-2296

›Cited in 9 briefings

Every briefing that discusses this term, newest first.

  1. Digital Credentials API: W3C group defers much of issuance to level two, Heather Flanagan reports

    Podcast · · A Digital Identity Digest · The DC API and the Problem of Shared Responsibility · Nov 10, 2026

  2. The W3C's Digital Credentials draft says no single party can solve over-asking for government IDs

    Article · · W3C · Marcos Caceres et al. · Nov 5, 2026

  3. A W3C group's draft counts login with another issuer's credential as an issuer-controlled path to account access

    Article · · W3C Security Interest Group · Simone Onofri et al. · Sep 8, 2026

  4. World's maker proposes a site-scoped handle for each verified human, and bars using it alone to log anyone in

    Draft · · IETF Datatracker · Aurélien Brézun, Tools for Humanity · Aug 6, 2026

  5. Glide pitches the SIM card's key as the replacement for SMS codes, resting its AAL3 claim on hardware alone

    Podcast · · The Future of Identity · Eran Haggiag – Rebuilding Digital Identity Around SIM Cards for the AI Era · Jun 23, 2026

  6. FIDO moves past passkeys to certify identity wallets, so issuers can check a wallet before provisioning to it

    Article · · FIDO Alliance · FIDO Alliance · Dec 4, 2025

  7. Formal proofs find no new flaws in OpenID4VP over the Digital Credentials API, for a March 2025 draft

    Article · · OpenID Foundation · Fabian Hauck et al. · Aug 20, 2025

  8. OpenID4VCI's third interop test: 87% of tested pairs passed, on counts the post does not reconcile

    Article · · OpenID Foundation · Gail Hodges · Jul 24, 2025

  9. OpenID4VP 1.0 makes verifiers re-check what a wallet returns, and cannot show a holder acting for someone else

    Article · · OpenID Foundation · Oliver Terbu et al. · Jul 9, 2025

Related terms

What appears alongside Digital Credentials API in the same briefings.

OpenID for Verifiable PresentationsOpenID for Verifiable Credential Issuance

Was this explainer useful?

Share this explainer

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem that involves Digital Credentials API? Talk to Boston Identity