-
Notifications
You must be signed in to change notification settings - Fork 145
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
The usage of PublicKeyCredentialDescriptor in AllowCredentials vs excludeCredentials #320
Comments
Hi! There is indeed a slight mismatch here. However, I was reminded now that the The order of the list has little or no effect in practice, though. Browsers generally offer the user all available authenticators and goes with the first one the user picks. So I'd call this a minor issue that's unlikely to have any practical impact. It's certainly not worth breaking the Does that answer your questions? |
We plan to release it at some point, but there's no concrete time plan at the moment. Perhaps later this year. |
The features discussed in #274 are now released in experimental release |
Hi Team,
Currently
getCredentialIdsForUsername(String username)
from CredentialRepository returnsSet<PublicKeyCredentialDescriptor>
and its used mainly for adding excludeCredentials .AllowCredentials
in PublicKeyCredentialRequestOptions takes List ofPublicKeyCredentialDescriptor
. So rather than returningSet<PublicKeyCredentialDescriptor>
we should returnList<PublicKeyCredentialDescriptor> getCredentialIdsForUsername(String username);
to provide a better reuse of the method. Is there any specific reason to returnSet<PublicKeyCredentialDescriptor>
?The text was updated successfully, but these errors were encountered: