pwa-builder / PWABuilder

The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
https://docs.pwabuilder.com
Other
2.54k stars 273 forks source link

[BUG] IOS app faceID login is not working using webAuth #4730

Closed siddharthsrivastava1 closed 3 weeks ago

siddharthsrivastava1 commented 1 month ago

What happened?

We are using WebAuthn with 'navigator.credentials', and it works fine in the Android app and the Safari browser. However, it is not working in the iOS app.

How do we reproduce the behavior?

navigator.credentials.create(credentialOptions) and try to login using faceID as it is working in safari nrowser

What do you expect to happen?

I am trying to login in my IOS app using faceID authentication as it is working in safari browser.

What environment were you using?

IOS APP

Additional context

No response

khmyznikov commented 1 month ago

Only native code workarounds available: https://stackoverflow.com/questions/47915312/how-can-i-leverage-authentication-with-biometrics-to-authenticate-a-user-in-web

There's no direct access to FaceID from WKWebView

microsoft-github-policy-service[bot] commented 3 weeks ago

This issue has been marked as "needs attention 👋" since it has not been triaged for 7 days. Please triage the issue .

jgw96 commented 3 weeks ago

Going to close this for now as @khmyznikov put the answer above.