Type error #470
Replies: 4 comments
-
was able to isolate the problem. When I remove the 3rd key, it works. It is a Yubikey 5. |
Beta Was this translation helpful? Give feedback.
-
{
"type": "public-key",
"id": "...",
"transports": [
"internal",
"hybriQ"
]
},
{
"type": "public-key",
"id": "...",
"transports": [
"nfc",
"usY"
]
} I wonder if it's the transports. |
Beta Was this translation helpful? Give feedback.
-
I use as backend https://github.com/web-auth/webauthn-framework update: |
Beta Was this translation helpful? Give feedback.
-
I'm going to convert this into a discussion because it doesn't appear to be a problem with SimpleWebAuthn. I see webauthn-framework makes use of @simplewebauthn/browser and its ...but nothing about these methods here would explain what's going on over there.
Maybe write some runtime code to detect these bad values, replace them when sending them to the front end, and then update them in the DB when they're encountered? That'd at least help with existing credentials while the real cause is investigated. |
Beta Was this translation helpful? Give feedback.
-
Describe the issue
i get the error "Type Error" when i call startAuthentication(option).
The error only occurs on Safari (macOS/iOS). On Windows and Chrome on Mac, it works without problems.
Expected behavior
the Webauthn prompt should open. However, nothing happens.
Code Samples + WebAuthn Options and Responses
options:
Dependencies
SimpleWebAuthn Libraries
Plain HTML/JS
JQuery 3.7.1
browser@8.3.3
Backend: https://github.com/web-auth/webauthn-framework
Beta Was this translation helpful? Give feedback.
All reactions