Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

149
Views
Determining the biometric capability of a device using JS

I am trying to detect if a browser on the device running my app supports biometric capability, using Javascript. Specifically, I would like to detect, if the device is capable of FaceId or TouchId. I know that though WebAuthn you can do this:

if (window.PublicKeyCredential) {
 PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable()
   .then((available) => {
     if (available) {
       console.log("Supported.");
     } else {
       console.log(
         "WebAuthn supported, Platform Authenticator *not* supported."
       );
     }
   })
   .catch((err) => console.log("Something went wrong."));
} else {
 console.log("Not supported.");
}

But, this would only let me know if the device is biometric capable. It wouldn't distinguish between FaceId or TouchId. How do I get that level of detail through Javascript?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

isUserVerifyingPlatformAuthenticatorAvailable does not mean a biometric. It means a platform authenticator with user verification capabilities. User verification could be a PIN, local password, or biometric.

The biometric capabilities of a platform authenticator are not currently disclosed via WebAuthn.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!