OpenID Connect for Verifiable Presentations

Overview

Dentity provides a way for verifiers to request holders to share their credentials to verify easily and securely using OpenID Connectarrow-up-right (OIDC). Specifically in this specification we build and follow OpenID Connect for Verifiable Presentationsarrow-up-right and W3C Verifiable Credentialsarrow-up-right.

Usage

Prerequisites

You need some of the following to get started:

Configuration

Create OIDC client in Denity Businessarrow-up-right site and get the configuration. Configure the OIDC library you use with the parameters below.

Authority URL: https://oidc.dentity.com/oidc/auth

Parameter
Description

client_id

A unique string that you receive after creating the client to identify the application

redirect_uri

The URL will be redirected after the user has verified successfully

response_type

code

scope

openid profile

Response and vp_token

After the user successfully verify with their credential you will receive the corresponding sample format below.

circle-info

vp_token example: Notice that the data below has been changed for brevity.

The response parameter vp_token is defined as follows:

  • vp_token: a parameter that either directly contains a verifiable presentation or a JSON array with multiple verifiable presentations

  • A vp_token MUST be provided in the same response as the id_token of the respective OpenID Connect transaction. Depending on the response/grant type, this can be either the authentication response or the token response.

  • The vp_token either contains a single verifiable presentation or an array of verifiable presentations.

Verify the proof

When the user verifies successfully. You will get vp_token. Before you start using that data, we recommend you verify it first.

The proof can be verified with:

circle-exclamation

OIDC client libraries

Currently, there are many libraries/packages that support OIDC client integration for most languages. You can view some of the certified packages from OpenID Connectarrow-up-right:

Last updated