Closed slokhorst closed 4 years ago
Are you trying with USB Security Key or MacBook TouchID? I think Safari only supports USB for now.
Again, sorry for the late reply. This is an issue with Safari, as opposed to my library. I just tested MacOS Safari version 13.0.3 and it appears to work with USB-attached authenticators, however I don't see a prompt by the browser like Chrome and Firefox present.
@grzuy do you have any idea when safari will support touchid for webauthn? I can't find it anyone online
@pro4tlzz likely somewhere in 2020. WebKitGoalsfor2020 mentions:
Authentication
- WebAuthN external authenticators (NFC/USB) on iOS
- Device-bound auth?
The first one is landing in iOS 13.3, the second one is probably referring to TPM (Secure Element/TouchID/FaceID).
It looks like the only implemented a proper UI just now. From the Safari Technology Preview 97 release notes:
Added UI with instructions for authenticating with a security key while authenticating
It now looks like this:
Thanks
It's coming in Safari 14!
Added a Web Authentication platform authenticator using Face ID or Touch ID, depending on which capability is present.
https://developer.apple.com/documentation/safari-release-notes/safari-14-beta-release-notes
According to the release notes, Safari 13 "Added support for FIDO2-compliant USB security keys with the Web Authentication standard in Safari on macOS."
However, when I try to use webauthn.io with Safari 13, and click the "Register" button, nothing happens. The console shows the following:
Edit: after approximately one minute, the following shows:
Perhaps the same issue as in #16?