This is a very simple WebAuthn demo that runs entirely in your browser. There is no validation of generated credentials in this initial version.
To run on your local system:
- Clone this repository:
git clone https://github.com/YubicoLabs/webauthn-workshop-starter.git
- Run a web server so you can access its files on localhost. For instance:
python3 -m http.server 8000
-
Open http://localhost:8000/ in Chrome.
-
Open Developer Tools to monitor logs.
-
Register some passkeys on different authenticators.
See backend for instructions on using a backend server for validating passkeys.