NEW 218743
Geolocation api breaks web authentication with Touch ID/Face ID
https://bugs.webkit.org/show_bug.cgi?id=218743
Summary Geolocation api breaks web authentication with Touch ID/Face ID
Levon Karapetyan
Reported 2020-11-10 03:18:54 PST
When a geolocation API is used between user click and WebAuthn call, then Safari on iOS 14 restricts Touch ID/Face ID usage. Here is a code example: document.getElementById("mybutton").onclick = function() { navigator.geolocation.getCurrentPosition(register, register); } function register() { var options = {...}; navigator.credentials.create({ publicKey: options }) .then(console.log) .catch(console.error); }
Attachments
Radar WebKit Bug Importer
Comment 1 2020-11-10 15:51:15 PST
Note You need to log in before you can comment on or make changes to this bug.