-
-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: 'toJSON' called on an object that does not implement interface PublicKeyCredential. #2298
Comments
According to these sites the whole https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/toJSON |
I have exactly this same problem (unfortunately also on an internal link that I cannot share here). Downgrading keepassxc-browser plugin to 1.9.0.3 does the trick - but it would be handy if this was fixed in the upstream version. |
This seems similar: |
Instead of internal links, I'd need a site where I can reproduce this. |
Made some progress, and was able to find a workaround. On Firefox, go to |
Downgrading probably helps because in that old extension version a normal |
this error shows up on oracle cloud. if you have an account with them you can reproduce it. |
Background: The current version 1911 is working fine with passkey on chrome browsers but not on Firefox based browsers.
Expected Behavior
1911 version should work with passkey on Firefox browsers also.
Found that version 1903 version working fine with Firefox. Found that code has been refactored to Prototype based. Well not sure if it could cause an issue. Downloaded the old version https://addons.mozilla.org/firefox/downloads/file/4257616/keepassxc_browser-1.9.0.3.xpi
working object 1903
non-working object 1911
Current Behavior
Somewhere after 1903 version code has been refactored to Prototype based approach than the earlier approach. After the publickeycredential object is sent back to the client code, it tries to convert it into its JSON.stringify() which works on 1903 but not on 1911 and hence the error (in subject)
Possible Solution
I possibly assume the problem is somewhere in the object type.
Steps to Reproduce (for bugs)
Debug info
KeePassXC - {2.7.9}
KeePassXC-Browser - {1911}
Operating system: Linux
Browser: Firefox/Librewolf
The text was updated successfully, but these errors were encountered: