amazon-cognito-passwordless-auth: Type Error fido2GetCredential in Safari
Hi, I’ve integrated this lib and so far is working great for chrome and Firefox, but we are having issues with safari when getting the credentials because it is throwing a super ambiguous error (attached in the image) from the function fido2GetCredential in fido2.js:214, this is const credential = await navigator.credentials.get({ publicKey, }); I’ve confirmed that the publicKey object is the same in chrome and safari.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 27 (15 by maintainers)
Thanks for getting back ! Good news 🎉
Hey @ottokruse no update yet, I haven’t been able to file the issue since I had been working on something else but will do next week and keep you posted.
@ottokruse thanks for all your help!, I’ll try that and file the issue with them, as soon as I fix it I’ll update here.
Frustrating!
I have no ideas left at this point.
Suggest to try the Webauthn calls directly (
navigator.credentials.get()) and see if that works. If not–file the issue with Apple against Safari. If that does work, we’d need to figure out why our lib fails for you (but not in our own example, so weird!).