Open timcappalli opened 8 months ago
Just adding to this one, a couple of things that were discussed which is probably worth elaborating on
Very similar issue came up in Payment Request with respect to the ordering of payment instruments. In practice, it's really the user's preference (in as far as they are able to set a preference and that may be outside the control of the browser, specially if the wallet or wallets are provided by the OS or as native apps)... we should be mindful of the language we use though, as it starts to encroach on UI decisions.
Thinking about this a bit more, I'm not sure this is something that the web platform API should address. It is ultimately up to the credential selector provided by the app platform to decide the ordering.
For presentation, this selector should be driven by context from the matcher logic based on the request and available credentials.
For issuance, still needs discussion (ex: is there any capability negotiation or is it fire and wait)
2024-06-26: this would be addressed by the OID4VP layer, and is being discussed in that WG in the context of the new query language
2023-11-01 meeting: add some text about precedence for multiple elements of the request array.
https://github.com/WICG/identity-credential/blob/main/digital-credentials-2-proposal.md