streamich / react-use

React Hooks — 👍
http://streamich.github.io/react-use
The Unlicense
41.58k stars 3.14k forks source link

useWebAuthentication or useWebAuthn #204

Open wardoost opened 5 years ago

wardoost commented 5 years ago

A hook to interact with the WebAuthn/Web Authentication API:

The Web Authentication API is an extension of the Credential Management API that enables strong authentication with public key cryptography, enabling passwordless authentication and/or secure second-factor authentication without SMS texts.

streamich commented 5 years ago

Sounds interesting, do you have in mind a signature for this hook?

wardoost commented 5 years ago

I will first have to get to know this API a bit myself, haven't used it but W3C recently announced that it's an official web standard: https://www.w3.org/2019/03/pressrelease-webauthn-rec.html.en

Leaving a few links I got after a quick search