OpenID4VP Introduction
OpenID for Verifiable Presentations (OpenID4VP) is an open standard that allows a verifier (relying party) to request and receive verifiable credentials from a user's wallet. It is one of the core building blocks of the EUDI-wallet framework.
As part of Yivi's journey to become a crypto agile, EUDI-compliant wallet, the Yivi app supports OpenID4VP for disclosure of SD-JWT VCs alongside the existing IRMA protocol. This means verifiers can choose between integrating with Yivi via IRMA or via OpenID4VP, depending on their ecosystem.
Operational
OpenID4VP disclosure is available from Yivi app version 7.10.0 and irmago version 0.19 onwards.
How it works at a glance
- The verifier builds a DCQL query describing the credentials and claims it needs.
- The verifier asks its OpenID4VP server to create an authorization request. The server returns a
request_urithat the Yivi app can fetch. - The verifier renders a wallet link such as
eudi-openid4vp://?client_id=...&request_uri=...as a QR code (or, on mobile, opens it directly). - The Yivi app fetches the authorization request, verifies the verifier's X.509 certificate, asks the user to confirm, and posts a
vp_tokencontaining the requested SD-JWT VCs back to the verifier. - The verifier polls its server for the result and parses the disclosed claims out of the SD-JWT VC.