zerodevapp / sdk

MIT License
38 stars 36 forks source link

Passkey plugin - `toPasskeyValidator` - Allow for custom authenticator #158

Open hjornigur opened 4 months ago

hjornigur commented 4 months ago

This PR introduces additional optional parameter to the toPasskeyValidator function - signWithAuthenticator, which follows simplewebauthn's startAuthentication function signature. This will allow to use custom authentication functions, for example mobile ones, since simplewebauthn simply does not work on mobile devices natively :)

adnpark commented 3 months ago

@hjornigur Hey sorry for the late reply. In the meantime, our passkey plugins have undergone significant refactoring. Could you please make a new commit based on the updated codebase? Thanks in advance.