An implementation of webauthn in OCaml.
Find a file
Reynir Björnsson 1587e76169 Rework registration flow
The registration page comes with a form where the user selects a
username. When the user clicks "register" a javascript function is
called that reads the user form input value and makes a GET request to
/challenge/:user where it receives a challenge and a user object as
JSON. The WebAuthn registration process continues using those challenge
parameters.

The user then receives an alert() with a string explaining the
registration status and is then redirected to the front page where a
flash message is displayed as well.
2021-10-04 10:43:32 +02:00
bin Rework registration flow 2021-10-04 10:43:32 +02:00
cbor works as initial version 2021-09-29 14:34:09 +00:00
flash_message WIP 2021-09-28 11:30:14 +00:00
src Adapt terminology to WebAuthn 2021-10-01 13:48:47 +02:00
CHANGES.md works as initial version 2021-09-29 14:34:09 +00:00
dune-project WIP 2021-09-28 11:30:14 +00:00
LICENSE.md works as initial version 2021-09-29 14:34:09 +00:00
README.md works as initial version 2021-09-29 14:34:09 +00:00
webauthn.opam WIP 2021-09-28 11:30:14 +00:00