Skip to content

Add a security consideration not to use VP Token as Access Token.#702

Open
Vanderkast wants to merge 3 commits intoopenid:mainfrom
Vanderkast:vp-token-as-authz-material-security-consideration
Open

Add a security consideration not to use VP Token as Access Token.#702
Vanderkast wants to merge 3 commits intoopenid:mainfrom
Vanderkast:vp-token-as-authz-material-security-consideration

Conversation

@Vanderkast
Copy link
Member

Closes #701

I would prefer making this security consideration a MUST, but I use SHOULD to avoid introducing a breaking change.

@Vanderkast Vanderkast force-pushed the vp-token-as-authz-material-security-consideration branch from d238856 to 458dcac Compare February 26, 2026 14:48
Copy link

@ve7jtb ve7jtb left a comment

Choose a reason for hiding this comment

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

I would be OK with making this a Must. What is the reason for not doing that.

Other than that this is fine


Clients intending to authenticate the End-User utilizing a claim in a Credential MUST ensure this claim is stable for the End-User as well as locally unique and never reassigned within the Credential Issuer to another End-User. Such a claim MUST also only be used in combination with the Credential Issuer identifier to ensure global uniqueness and to prevent attacks where an attacker obtains the same claim from a different Credential Issuer and tries to impersonate the legitimate End-User.

Clients intending to access a Resource Server on-behalf of the End-User authenticated via Credential presentation, SHOULD NOT use VP Token as an Access Token. The way to produce Access Token based on Credential presentation is out of scope of this specification.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Clients intending to access a Resource Server on-behalf of the End-User authenticated via Credential presentation, SHOULD NOT use VP Token as an Access Token. The way to produce Access Token based on Credential presentation is out of scope of this specification.
Clients intending to access a Resource Server on-behalf of the End-User authenticated via Credential presentation, MUST NOT use the VP Token as an Access Token. The way to produce Access Tokens based on Credential presentations is out of scope of this specification.

Copy link
Member Author

@Vanderkast Vanderkast Feb 27, 2026

Choose a reason for hiding this comment

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

In general, I agree that it should be a MUST.
But it seems to be a breaking change since there is no such requirement in OID4VP 1.0.
Am I missing something?

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.

Add a security consideration not to use VP Token as Access Token

3 participants