Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(WebAuthn): add an option for user verification #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nsatragno
Copy link
Contributor

Allow configuring the user verification requirement. This is implemented
as a boolean that is translated into either UserVerificationRequirement
"required" or "discouraged". Do not default to "preferred" since its
behaviour is confusing at best.

Fixes #21

Copy link
Contributor

@EternalDeiwos EternalDeiwos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks mostly good to me, though I'd like test it/play with it a little more before I merge this

Allow configuring the user verification requirement. This is implemented
as a boolean that is translated into either UserVerificationRequirement
"required" or "discouraged". Do not default to "preferred" since its
behaviour is confusing at best.

Fixes strangerlabs#21
@codecov
Copy link

codecov bot commented Jan 27, 2020

Codecov Report

Merging #25 into master will decrease coverage by 0.12%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
- Coverage   12.66%   12.53%   -0.13%     
==========================================
  Files           5        5              
  Lines         387      391       +4     
==========================================
  Hits           49       49              
- Misses        338      342       +4
Impacted Files Coverage Δ
src/Webauthn.js 13.02% <0%> (-0.21%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d8d63d2...99626c6. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default to uv = 'discouraged`
2 participants