Fixes #27 by adding a new function to the UserStore interface for receiving a user via a provided WebAuthn Id instead of a username. Additionally, the new function is now used in the finishRegistration and finishLogin handlers instead of first assuming the WebAuthn Id matches the username and then using that as a username.
Fixes #27 by adding a new function to the
UserStore
interface for receiving a user via a provided WebAuthn Id instead of a username. Additionally, the new function is now used in thefinishRegistration
andfinishLogin
handlers instead of first assuming the WebAuthn Id matches the username and then using that as a username.