NEW 241126
Error after calling navigator.credentials.get() twice
https://bugs.webkit.org/show_bug.cgi?id=241126
Summary Error after calling navigator.credentials.get() twice
Simon Bluhm
Reported 2022-05-31 05:46:50 PDT
I recently noticed that users of my web app are no longer able to signin using WebAuthn TouchID / fingerprint on iOS 15.5. The problem seems to be calling navigator.credentials.get() more than once. The first attempt is successful but calling navigator.credentials.get() a second time will result in the following error: "This request has been cancelled by the user". The only way to get around this is for the user to reload the website. This is problematic for Single Page Apps, especially if standalone, as the browser UI and refresh button are hidden. The bug is also reproducible here: https://try-webauthn.appspot.com/
Attachments
Radar WebKit Bug Importer
Comment 1 2022-05-31 14:39:58 PDT
pascoe@apple.com
Comment 2 2022-05-31 14:47:17 PDT
It looks like we aren't registering the user gestures as being associated with navigator.credentials calls with this sample site. Looking into why this happens.
Note You need to log in before you can comment on or make changes to this bug.