t.response.getTransports is not a function in Firefox
thannaske opened this issue · comments
laravel-webauthn Version
v1.0.3
Laravel Version
9.34.0
Bug description
When trying to call the webAuthn.register
function, the call fails with the following error:
Uncaught (in promise) TypeError: t.response.getTransports is not a function
This bug only occurs in Firefox. This seems to be a problem with the WebAuthn JavaScript file, however it's already full compiled so I can't dig into it further.
Steps to reproduce
- Follow the example in the documentation
- Use Firefox (e.g. Firefox 100) and visit the page via https:// and a valid hostname
- The browser asks for the security key
- Plugin in the key (I used a YubiKey 5 NFC USB-C)
- Press the key's button
- The error appears in the browser console
Relevant log output
No response