webauthn-open-source / fido2-lib

A node.js library for performing FIDO 2.0 / WebAuthn server functionality
https://webauthn.io
MIT License
394 stars 118 forks source link

Passkeys require another transport added "hybrid". #132

Open tmikaeld opened 1 year ago

tmikaeld commented 1 year ago

According to the docs, it seems that the relay only need to allow the transport, then it would work like any FIDO2 key:

"hybrid" missing here: https://github.com/webauthn-open-source/fido2-lib/blob/9da9eb90f32f8f6bc49eabd2d9873872812c6323/lib/validator.js#L145

Docs: https://passkeys.dev/docs/reference/terms/#cross-device-authentication-cda

JamesCullum commented 1 year ago

Feel free to create a pull request - would be great to have a test case for this as well 👍