-
Notifications
You must be signed in to change notification settings - Fork 183
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
Clarify usage of credentialRecord.transports #2016
Comments
The right place to ask this question is the fido-dev mailing list: https://groups.google.com/a/fidoalliance.org/g/fido-dev If you are only using empty allowCredentials then you don't need to store it. It has a purpose though - when passed back to the client (browser) when using an allowCredentials list, it allows the browser to choose the best UI for the credentials it knows the RP wants to use (e.g. USB only, etc). Please close this issue if satisfied with the answer, otherwise it will likely be closed during the next working group call. |
@sbweeden I appreciate the quick response and the pointer as for a better avenue in the future. Should the spec be updated to reflect that's the intended use-case? I couldn't find any reference to |
That's the primary use case (at least AFAIK). There is perhaps statistical or UX value in the RP knowing the transports of a user's registered credentials (you might make suggestions about registering the platform authenticator for example), so I don't think there's a compelling reason to change the specification in this regard since there is more than one possible reason for storing them. |
Thanks for pointing this out! There is a connection, but it is a bit buried:
So technically there is a recommendation of how to use it, but the chain of steps is certainly not obvious just by looking at the list of places where It might help to somehow reference
and I don't really want to start weighing that down with specific callouts of individual parameters of note. I think we could improve the description of |
I think that was the part I was missing.
I agree, the current paragraph talks about storing the Thank you! |
Proposed Change
The current spec says that
credentialRecord.transports
is RECOMMENDED but I can't find a reference for when to use it. I believe this was lost in #1773 where it was previously used to populate theallowCredentials
.I would like to understand how RPs should use this field in practice. We (an RP) require the use of discoverable credentials and therefore never fill in
allowCredentials
. My understanding is thatcredentialRecord.transports
has no purpose in our use-case. I don't know how the WG decides between "RECOMMENDED" and "OPTIONAL" but it's confusing that it's currently "RECOMMENDED" without any mention of how/when to use it.Also, I wasn't sure where to post this question, I didn't see much non-GitHub communication in the public mailing list and my company is not a W3C member. If this is the wrong avenue for this type of discussion, I apologize.
The text was updated successfully, but these errors were encountered: