OpenID for Verifiable Credentials (OID4VC) is a family of OpenID Foundation specifications that define how a digital wallet receives credentials from an issuer and presents them to a verifier using familiar OAuth 2.0 and OpenID Connect building blocks. In digital identity and privacy engineering, it is the transport layer that moves a verifiable credential such as a diploma, a mobile driver’s license or a national ID from the organization that vouches for it to the holder, and then to the party that needs proof.
The family, also written OpenID4VC, is deliberately format-agnostic: the same protocols carry SD-JWT VC, ISO mdoc and W3C credentials. Its privacy value comes from holder-mediated sharing, where the wallet asks the user before releasing anything and supports selective disclosure of individual claims instead of whole documents.
Components of the OID4VC family
OID4VC is not a single protocol but a set of cooperating specifications, each covering one leg of the credential lifecycle. Issuance and presentation are separate because they involve different trust relationships and can be deployed independently.
The table below lists the main specifications and what each one standardizes.
| Specification | Role | Key artifacts |
|---|---|---|
| OpenID4VCI | Credential issuance to a wallet | Credential offer, credential endpoint, proof of possession |
| OpenID4VP | Presentation of credentials to a verifier | Authorization request, vp_token, DCQL query |
| SIOPv2 | Wallet acts as its own identity provider | Self-issued ID token, subject syntax types |
| HAIP | High-assurance interoperability profile | Mandated formats, algorithms and flows |
| Security and trust profiles | Wallet attestation and key protection | Wallet attestation, key attestation |
OpenID4VCI and OpenID4VP reached final 1.0 status in 2025, which moved the family from pilot material to a stable base for regulated deployments. The High Assurance Interoperability Profile narrows the many options to a testable subset, because the base specifications intentionally leave room for different ecosystems.
How credential issuance works
OpenID4VCI models the wallet as an OAuth 2.0 client and the issuer as a protected resource that returns credentials instead of ordinary data. The wallet obtains an access token from the issuer’s authorization server and then calls the credential endpoint to receive a signed credential bound to a key it controls.
- The issuer sends a credential offer, usually as a QR code or deep link, naming the credential types available.
- The wallet reads the issuer metadata to learn supported formats, algorithms and endpoints.
- The wallet obtains an access token through the authorization code flow or the pre-authorized code flow.
- The wallet generates a key pair and sends a proof of possession signed over a fresh nonce.
- The issuer returns the credential, cryptographically bound to the wallet key, optionally after a deferred wait.
The two grant types suit different situations, and choosing between them affects both security and user effort.
| Flow | When it fits | Main security control |
|---|---|---|
| Authorization code flow | User must log in or be identified first | User authentication and PKCE at the issuer |
| Pre-authorized code flow | Identity already checked out of band | Optional transaction code sent separately |
| Deferred issuance | Manual review or slow back-end checks | Transaction identifier polled later |
| Batch issuance | Several unlinkable copies are needed | One key per credential copy |
Key binding is the decisive feature: a copied credential is useless without the private key, which in high-assurance wallets lives in a secure element or hardware-backed keystore.
How presentation to a verifier works
OpenID4VP lets a verifier send an authorization request that describes which credentials and claims it needs, and the wallet answers with a verifiable presentation in the vp_token parameter. The request can arrive by QR code for cross-device use, by redirect on the same device, or through the browser Digital Credentials API.
The verifier expresses its needs with the Digital Credentials Query Language (DCQL), which names credential types, required claims and acceptable issuers. The wallet shows the user exactly which attributes are requested and from whom, and after consent it returns only those claims, signed with the holder key over the verifier’s nonce and client identifier to prevent replay.
For cross-device flows the wallet usually posts the response directly to the verifier using the direct_post response mode, optionally encrypted. This avoids leaking credential data through browser history or redirect URLs.
Credential formats and privacy properties
The privacy a user actually gets depends heavily on the credential format carried by OID4VC, not on the protocol alone. Formats differ in how they hide undisclosed claims and how easily presentations can be linked.
| Format | Selective disclosure method | Linkability concern |
|---|---|---|
| SD-JWT VC | Salted hashes of individual claims | Same signature and key across presentations |
| ISO mdoc | Digests per data element (ISO/IEC 18013-5) | Same issuer signature unless batch-issued |
| W3C VCDM with JSON-LD | Depends on proof suite used | Varies; some suites support unlinkable proofs |
| BBS-based credentials | Zero-knowledge derived proofs | Low; each proof is unlinkable |
Because hash-based formats reuse the same issuer signature, colluding verifiers can correlate a user across services. The common mitigation is batch issuance of single-use credentials, which trades storage and issuer load for unlinkability.
OID4VC compared with related identity protocols
OID4VC differs from classic federated login mainly in who sits in the middle of each transaction. In OpenID Connect the identity provider is online for every login and learns where the user goes; in OID4VC the issuer is contacted only at issuance, so it cannot observe presentations.
| Approach | Issuer online at login | Data minimization | Typical use |
|---|---|---|---|
| OpenID Connect | Yes | Scopes and claims, set by provider | Social and enterprise login |
| SAML 2.0 federation | Yes | Attribute release policies | Enterprise and academic single sign-on |
| OID4VC | No | Claim-level selective disclosure | Wallets, eIDAS 2.0, mobile licenses |
| ISO/IEC 18013-5 proximity | No | Per-element disclosure | In-person mobile driver’s license checks |
Under eIDAS 2.0, the EUDI Wallet architecture relies on OpenID4VCI and OpenID4VP for remote flows, while proximity checks use the ISO mobile license protocol. OID4VC is compatible with decentralized identifiers but does not require them, since issuers may use X.509 certificates or HTTPS-hosted keys.
Implementation risks and common mistakes
Most failures in OID4VC deployments come from trust configuration and option sprawl, not from cryptography. The base specifications are flexible, so two compliant implementations can still fail to interoperate.
- Over-asking for claims: verifiers request full birth dates when an age-over-18 claim would suffice, which defeats data minimization.
- Weak verifier authentication: without registered or certificate-based client identifiers, a phishing site can request credentials.
- Ignoring revocation: verifiers must check status lists, or revoked credentials keep working.
- Software-only keys in high-assurance use cases make credential cloning far easier.
- Unprofiled deployments that skip HAIP or an ecosystem profile frequently break interoperability.
A further risk is regulatory overreach by design: a wallet that makes sharing effortless can normalize identity checks in places that previously required none, so privacy reviews should question whether a credential request is necessary at all.
In everyday language
OpenID for Verifiable Credentials is a common set of rules that lets an app on your phone collect official documents in digital form and later show them to someone who needs proof. A university can hand you a digital diploma, and a website can ask to see only the part it needs.
Think of it as a secure envelope service. The office that issued your document is not told every time you show it, and you decide which lines of the document leave your phone. The key point is control: you see who is asking, what they want, and you approve it.
Seen in the real world
A European online wine retailer must confirm that buyers are adults before shipping. Instead of asking for a scanned identity card, its checkout page sends an OpenID4VP request through the browser, asking a customer’s national wallet for a single claim: age over 18.
The customer’s phone shows the retailer’s verified name and the one requested attribute. After a fingerprint confirmation, the wallet returns a signed SD-JWT presentation bound to the device key and the retailer’s nonce. The retailer checks the issuer signature and the revocation status list in well under a second.
The result is a verified age check without storing any identity document. The retailer never learns the name, birth date or address, the issuing authority never learns about the purchase, and the retailer’s data breach exposure drops because there is no ID scan to protect.