-
Notifications
You must be signed in to change notification settings - Fork 40
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
What are requirements when more than one SPC credential matches? #69
Comments
(Just documenting reality, not making any suggestions currently). WebAuthn
How this is ultimately used in WebAuthn appears to be a user dialog, step 7 of 6.3.3. The authenticatorGetAssertion Operation:
(Where credentialOptions is allowCredentials filtered to those credentials that match the authenticator device). How does this relate to SPC today? |
#69 It seems that issue 69 is addressed by the specification, which says to follow a credential management API algorithm. However, since that is not what the current Chrome implementation does, I propose to add an implementation note.
It seems to me that the specification addresses this issue in step 6 of 4.1.6. Steps to respond to a payment request [1]. The specification answers the question by saying to run the Credential Management API "Request a Credential" algorithm. Based on @stephenmcgruer's comment, that's not what the current implementation does, so I propose to add an implementation note. However, I propose that we close this issue with the currently specified behavior and move in that direction. (Please indicate support for that proposal on this thread. Thanks!) [1] https://w3c.github.io/secure-payment-confirmation/#sctn-steps-to-respond-to-a-payment-request |
The specification now includes an answer to the question in the algorithm of 4.1.6 along with a note that the Chrome implementation does not conform. We can decide in the future which needs to change. |
Based on some questions by @Goosth:
When more than once SPC credential matches, what requirements are there, and what should be left to browser innovation?
For example:
On the other hand, it might be a requirement for the browser to try to match the requirements in the order specified in the input to the API. This would allow the RP to express preferences, and this could be one way for the RP to say "I want you to go for frictionless first, then low friction."
The text was updated successfully, but these errors were encountered: