Bug 244107 - [WebAuthn] Conditional UI for webauthn autocomplete breaks with multiple input text fields
Summary: [WebAuthn] Conditional UI for webauthn autocomplete breaks with multiple inpu...
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: All Other
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-18 15:50 PDT by Kevin Flanagan
Modified: 2023-04-11 17:11 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Flanagan 2022-08-18 15:50:48 PDT
DescriptionKevin Flanagan 2022-08-18 09:01:21 PDT
On the latest nightly build of Webkit on macOS 13 beta 5 the conditional UI (https://github.com/w3c/webauthn/wiki/Explainer:-WebAuthn-Conditional-UI) functionality for Passkeys only works as long as there is only one <input> text field on the page.

Reproducing Steps:
1. Webpage with <input autocomplete="webauthn" >
2. Perform webauthn get with a conditional mediation:
navigator.credentials.get({
  mediation: 'conditional',
  publicKey: {
    challenge: <challengeFromServer>,
  }
});
3. Click into the input box - note that the conditional UI appears
4. Add a second <input type="text"> field to the page (with or without the autocomplete tag). 
5. Perform same webauthn get - the conditional UI autocomplete does not appear.
Comment 1 Radar WebKit Bug Importer 2022-08-25 15:51:14 PDT
<rdar://problem/99159442>
Comment 2 Brent Fulgham 2023-04-11 17:11:00 PDT
The cause of this bug was outside of WebKit code, so resolving as MOVED.

We believe this is fixed in iOS 16.4.1 and macOS 13.3.1.