v134 · 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
-
DC Presentation
navigator.credentials.get() learns to request a digital credential from a wallet.
-
Age-over-18 selective disclosure
The headline use case: prove the user is over 18 without revealing date of birth, name, address or photo. Side-by-side full-mDL vs. one-claim requests with a live wallet round-trip.
-
Request Builder
Compose a real navigator.identity.get request. Pick mDoc / VC JWT / SD-JWT, toggle claims, add nonce + retention, copy the JSON or fire it live.
-
Credential Format Explorer
Compare mDoc/ISO 18013-5, VC JWT, and SD-JWT claim structures side by side. Toggle claims with privacy-risk levels, watch the privacy impact meter rise, and generate the exact navigator.credentials.get() call for each format.
why it shipped
Without this, websites and wallets can only communicate in ways that are more opaque to the browser and OS.