A demo application that uses the WebAuthn API to register and authenticate users using the FIDO2 protocol used by hardware security keys.
Using Poetry, install the dependencies;
poetry install
Start the server
make run
Open up the webapp https://localhost:5000. The browser will complain about the SSL certificate but you can safely ignore the message.
A demo app has been deployed here https://py-webauthn-demo.vercel.app/