-
Notifications
You must be signed in to change notification settings - Fork 30
Add guidance on how to handle multiple presentation request entries #249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Discussed 11 June minutes |
|
I think we should indicate to the verifier that the multiple requests (and similarly for the request language) should be semantically compatible/equivalent, or the user/user agent/wallet are easily going to be confused, or might be seen as abuse. Browsers can try to catch really extreme cases that violate that, but it probably wouldn't be easy to test. |
|
From WG meeting:
|
|
Discussed 9 July. |
|
Might I suggest that this be reworked/rewritten a bit, to more closely mimic the HTTP content negotiation A single artificially complicated request (with syntactically invisible line break, here just to make comprehension easier) might then look something like — I would multiply the internal credential priority, This could be made less visibly complicated by having two multi-valued parameters instead of one, such that the protocol priorities are in one parameter and the credential priorities are in another, or by having one slightly-more complex multi-valued parameter for which each value includes both protocol and credential (basically containing the permutations of the above), maybe something like — Note that the ordering of these is not important. It's the |
|
Discussed 3 September minutes. |
|
Just an update, this PR is effectively blocked by #372 which defines the presentation algorithm for the user agent. Once that lands I can then update this PR to slot in this PR's guidance to wherever is appropriate. |
|
Discussed as part of AOB: https://github.com/w3c-fedid/meetings/blob/main/2025/2025-12-02-DCAPI-A-notes.md#aob |
|
Abandoning this because I just found out @marcoscaceres decided instead to do this in #420. |
|
There might be some text we can bring over from here to #420. There’s still something to be said, even if non-normatively, about not expecting multiple credentials (unless the format allows for it). |
This PR adds initial text on A) how user agents MUST handle the presence of multiple presentation requests in
options.digital.requests, and B) how verifiers SHOULD populateoptions.digital.requeststo handle getting back a corresponding presentation response.Closes #220.
The following tasks have been completed:
Implementation commitment:
Documentation and checks
Preview | Diff