v141 · 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. Presentation

    navigator.credentials.get() learns to request a digital credential (mDoc, W3C VC) from a holder wallet. The verification handshake runs in-browser via the Digital Credentials API.

  2. Age Verification

    The Google Wallet birthday-correction flow. Request only the age_over_18 / 21 / 65 boolean from a mobile driver's licence — no date of birth, no licence number, no photo. Compliance without surveillance.

  3. Selective Disclosure

    Build an OpenID4VP Presentation Definition by ticking individual mDoc fields and watch the request payload update live. Models the eIDAS / EUDI minimum-disclosure rule.

  4. Credential Wallet Preview

    A live Digital Credentials request builder — toggle mDoc fields, choose OpenID4VP or mDoc, and call navigator.credentials.get({ digital: ... }). The page reports the actual wallet/browser result or error.

why it shipped

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

references