Safari13支持WebAuthN,但是WKWebView不支持。下面是测试页面:https://demo.yubico.com/webauthn-technical/registration。在WKWebView中似乎没有实现navigator.credentials。有没有办法添加WebAuthN支持?
发布于 2020-02-18 18:20:45
要使用的正确API是这个场景ASWebAuthenticationSession
https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession
根据我们的测试,在iOS 13.3上,它可以与USB,Lightning或NFC安全密钥一起工作。
在iOS 11或更低版本上,你应该使用SFAuthenticationSession,但显然没有WebAuthn支持。
https://stackoverflow.com/questions/60273455
复制相似问题