Skip to main content
Version: v0.5.x

Verifying Credentials using the OpenID4VC Verifier Module

This tutorial will guide you through the process of verifying credentials using the OpenID4VC Verifier Module. Before starting this tutorial, make sure you have completed the OpenID4VC Verifier Module Setup.

This guides only covers the verification of credentials using the OpenID4VC Verifier Module. Follow the Issuing Credentials using the OpenID4VC Issuer Module and Receiving and Proving Credentials using the OpenID4VC Holder Module guide to learn how to issuer, receive and prove credentials using the OpenID4VC Issuer and Holder Modules.

Creating the verifier

Once you have set-up your agent (under verifier variable), we first need to configure your verifier.

Creating an authorization request

Once you have configured the verifier, you can create an authorization request including an OpenID4VP presentation request based on DIF Presentation Exchange V2. The authorization request method will generate an authorization request URI that you can share with a holder.

We have also added an event listener that listens for state changed events, this allows us to know when the verification session is done.