WICG / digital-credentials

Digital Credentials, like driver's licenses
https://wicg.github.io/digital-credentials/
Other
66 stars 8 forks source link

Prioritization of credential providers #42

Open timcappalli opened 8 months ago

timcappalli commented 8 months ago

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

tplooker commented 8 months ago

Just adding to this one, a couple of things that were discussed which is probably worth elaborating on

marcoscaceres commented 5 months ago

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.

timcappalli commented 1 week ago

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)

timcappalli commented 1 week ago

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