K
K
Klaxons2021-04-23 21:16:41
User identification
Klaxons, 2021-04-23 21:16:41

Why is FaceID not working correctly in react?

I use

navigator.credential.create({publicKey: publicKey})


Faceid is called on pure html (the platform parameter is specified in the key),


Do you want to allow “******” to use Face ID?


and in react it suggests using only private key

Do you want to allow “******” to start using a security key to sign in?
Insert and activate your security key.


The methods are exactly the same. The react build also swears at PrivateKeyCredential when I check for the possibility of using webauthn, while it does not swear at window.PublicKeyCredential

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question