Closed MasterKale closed 1 year ago
Thank you for providing such a simple library for Webauthn, I encounter a problem when using Web Components, since it using a shadow DOM, so the detection method querySelectorAll
could not visited the input inside the Shadow DOM, so could you help me to figure out how to solve the problem?
@zhangbobell Please start a new Discussion about this, PR's are awful places for questions like yours to get a response.
https://github.com/MasterKale/SimpleWebAuthn/discussions/new/choose
@MasterKale OK, Thanks!
This PR tweaks
startAuthentication()
in browser to check that the"webauthn"
value in an<input>
'sautocomplete
attribute is either the sole value or the last value. This aligns things with the WHATWG, which helps conditional UI appear more reliably in browsers that enforce autocomplete token order (i.e. Chrome.)Fixes #446.