AEGIS by ProtoworksDevelopers
Menu

7.1 · Exchange protocolsWorking

Issuance with OpenID4VCI

OpenID for Verifiable Credential Issuance is an exchange shaped like OAuth in which a wallet obtains credentials from an issuer. The issuer makes an offer, as a link or a quick-response (QR) code. The wallet then authorises, either through a sign-in (the authorisation code flow) or with a code the issuer has already granted (the pre-authorised code flow, optionally with a transaction code sent by another channel). Finally the wallet requests the credential, with proof of the key it should be bound to, and may ask for several copies at once.

An analogy

Collecting a parcel with a notification slip.

Where it breaks:

  • In the pre-authorised flow the slip may be all you need, so it must reach only you.
  • The wallet chooses the key the credential is bound to.
  • The issuer may decide not to trust the wallet (5.5 Wallet attestation and key attestation).
Precisely

The Credential Issuer makes a Credential Offer by allowing the End-User to invoke the Wallet using the Wallet's Credential Offer Endpoint

OPENID4VCI-1.0 §4.1

The two flows OPENID4VCI-1.0 §3.4 OPENID4VCI-1.0 §3.5; the credential request with its proof of the key OPENID4VCI-1.0 §8.2; the issuer’s metadata the wallet reads first OPENID4VCI-1.0 §12.2; the trust between wallet and issuer OPENID4VCI-1.0 §13.3; the pre-authorised flow’s own security considerations OPENID4VCI-1.0 §13.6; and batch issuance OPENID4VCI-1.0 §14.6.

Diagram
IssuerWalletIssuer’s serversCredential offerlink or QR codeWalletreads the metadataAuthorisationsign-in or codeIssuance endpointbinds to the keyofferrequest
The issuer sends an offer to the wallet. The wallet authorises with the issuer’s authorisation server, by sign-in or by a pre-authorised code, and receives an access token. It then sends a credential request with proof of its key to the credential endpoint, which returns the credential.
Who can see what
What this does not do
  • The protocol does not decide whether the person is entitled to the credential: the issuer does, before or during authorisation.
Verified against
  • OPENID4VCI-1.0 OpenID for Verifiable Credential Issuance 1.0 version 1.0, checked 2026-10-28

Last reviewed 2026-10-28. Next review 2027-04-28. Every quotation is checked against the text it quotes, at the version named, before the page is published.