RESOLVED FIXED 233389
[WebAuthn] Consider support for the displayName for FIDO authenticator
https://bugs.webkit.org/show_bug.cgi?id=233389
Summary [WebAuthn] Consider support for the displayName for FIDO authenticator
pascoe@apple.com
Reported 2021-11-19 16:28:39 PST
Vendors have requested that we support displayName for platform authenticator. Adding icon while at it.
Attachments
Patch (8.92 KB, patch)
2021-11-19 16:32 PST, pascoe@apple.com
no flags
Patch (8.82 KB, patch)
2021-12-06 10:30 PST, pascoe@apple.com
no flags
Patch (8.68 KB, patch)
2021-12-08 10:15 PST, pascoe@apple.com
no flags
pascoe@apple.com
Comment 1 2021-11-19 16:28:44 PST
pascoe@apple.com
Comment 2 2021-11-19 16:32:34 PST
pascoe@apple.com
Comment 3 2021-12-06 10:30:51 PST
Brent Fulgham
Comment 4 2021-12-07 15:01:59 PST
Comment on attachment 446049 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=446049&action=review > Source/WebKit/ChangeLog:9 > + Start storing the displayName and icon fields with the platform authenticator Are these part of the WebAuthn spec? If so, could you add comments in the code indicating the relevant spec step to make it easy to find/validate this later? > Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm:271 > + [credential setDictionary:@{ Could also be done with 'initWithObjectsAndKeys: ', but I doubt there's any real performance benefit to doing so.
pascoe@apple.com
Comment 5 2021-12-08 10:15:30 PST
pascoe@apple.com
Comment 6 2021-12-08 10:16:57 PST
Thank you for the review. Addressed comments and removed icon from the change, as it is a field that was removed from the webauthn spec in: https://github.com/w3c/webauthn/pull/1337
Brent Fulgham
Comment 7 2021-12-08 10:21:26 PST
Comment on attachment 446381 [details] Patch r=me. Nice!
EWS
Comment 8 2021-12-08 15:50:32 PST
Committed r286746 (244991@main): <https://commits.webkit.org/244991@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446381 [details].
Note You need to log in before you can comment on or make changes to this bug.