[Webkit-unassigned] [Bug 218743] New: Geolocation api breaks web authentication with Touch ID/Face ID

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 10 03:18:54 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=218743

            Bug ID: 218743
           Summary: Geolocation api breaks web authentication with Touch
                    ID/Face ID
           Product: WebKit
           Version: Safari 14
          Hardware: iPhone / iPad
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: levonkarapetyan at gmail.com
                CC: jiewen_tan at apple.com

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);
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201110/6293e942/attachment-0001.htm>


More information about the webkit-unassigned mailing list