liveshowy / webauthn_components

WebauthnComponents allows Phoenix developers to quickly add passwordless authentication to LiveView applications.
MIT License
178 stars 10 forks source link

Fixes #43

Closed type1fool closed 1 year ago

type1fool commented 1 year ago

Overview

This PR adds an update callback implementation to WebauthnComponents.AuthenticationComponent, which adds proper validation of the challenge and attestation against a user_key provided by the parent application.

Changes

Tests

mix test
...
Finished in 0.1 seconds (0.1s async, 0.00s sync)
16 tests, 0 failures

Randomized with seed 840688