Skip to content

Adding credentialOffer to VPR - #705

Open
eric-schuh wants to merge 1 commit into
w3c:mainfrom
eric-schuh:add_credentialOffer_to_participate_in_exchange
Open

Adding credentialOffer to VPR#705
eric-schuh wants to merge 1 commit into
w3c:mainfrom
eric-schuh:add_credentialOffer_to_participate_in_exchange

Conversation

@eric-schuh

@eric-schuh eric-schuh commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

This PR attempts to address #689:

It adds a "credentialOffers" optional parameter to VPRs that allows a recipient to advertise which credential formats may result from the current interaction. It also provides the initial requester of a credential the ability to inform the receiving party which of the advertised formats they would like to receive the credential in, if possible.

As of right now this PR does not include any additional parameters such as "requestedGroup", which was mentioned in one of the comments on the original issues.

dlongley

This comment was marked as resolved.

@TallTed

This comment was marked as resolved.

@eric-schuh eric-schuh changed the title Adding credentialOffers to /workflows/{localWorkflowId}/exchanges/{localExchangeId} endpoint Adding credentialOffers to VPRs Aug 24, 2026
@eric-schuh

This comment was marked as resolved.

description: A URL that can be utilized for interacting with the service for the purposes of responding to the Verifiable Presentation Request.
"credentialOffer":
type: array
description: An optional parameter that informs a recipient which potential VCs might be issued if the VPR is responded to. This can also be used by a responder o provide their own VPR with preferencial constraints as to which VC(s) they would prefer to receive.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: An optional parameter that informs a recipient which potential VCs might be issued if the VPR is responded to. This can also be used by a responder o provide their own VPR with preferencial constraints as to which VC(s) they would prefer to receive.
description: An optional parameter that informs a recipient which potential VC(s) might be issued if the VPR is responded to. A responder can also use this to provide their own VPR with preferential constraints on the VC(s) they would prefer to receive.

@@ -99,6 +99,43 @@ components:
"serviceEndpoint":
type: string
description: A URL that can be utilized for interacting with the service for the purposes of responding to the Verifiable Presentation Request.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: A URL that can be utilized for interacting with the service for the purposes of responding to the Verifiable Presentation Request.
description: A URL that can be used for interacting with the service for the purpose of responding to the Verifiable Presentation Request.

type: string
"proof":
type: array
description: Results from verifying the proof objects if any.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: Results from verifying the proof objects if any.
description: Results, if any, of verifying the proof objects.

description: Results from verifying the proof objects if any.
items:
type: object
description: Information about what proofs are used by the VC being described.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: Information about what proofs are used by the VC being described.
description: Information about the proofs used by the VC being described.

@TallTed TallTed left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor tweaks.

@kezike kezike left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eric-schuh This looks great! I like the credentialOffer example, and would also appreciate an example illustrating a VPR sent by the holder to provider their “preferential constraints” on the VC format they would like to receive. This would be useful for wallet implementers. Approving, as I see that as a non-blocker, but I’d like for us to track it in an issue if we don’t capture it in this PR.

@kezike kezike changed the title Adding credentialOffers to VPRs Adding credentialOffer to VPR Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants