v133 · miscellaneous

Digital Credentials API (presentation support)

Websites can and do get credentials from mobile wallet apps through a variety of mechanisms today (custom URL handlers, QR code scanning, etc.). This Web Platform feature would allow sites to request identity information from wallets via Android's IdentityCredential CredMan system. It is extensible to support multiple credential formats (eg. ISO mDoc and W3

concepts

  1. DC Presentation

    navigator.credentials.get() learns to request a digital credential from a wallet.

  2. Age gate flow

    The W3C explainer's marquee scenario: a liquor checkout asks the wallet for only age_over_21 — compared side-by-side with the over-collecting "full mDL" request.

  3. Selective disclosure designer

    Toggle individual mDL claims; the request shrinks live. Watch the scope meter swing from over-collecting to minimal as you uncheck PII you don't need.

  4. Format & protocol comparator

    The same age-gate, expressed in SD-JWT VC, mDoc, JWT VC, and JSON-LD VC. Compare signing, holder binding, and selective-disclosure support.

why it shipped

Without this, websites and wallets can only communicate in ways that are more opaque to the browser and OS.

references