You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On macosx (not tested on other plateform though, but might be the same issue), navigator.credentials existing but does not work properly when navigator.credentials.create({publicKey:{...}}) is called To Reproduce
open the inspector and type:
Note this is NOT due to window not focused (an issue in itself on applewebkit), before you asked, i have checked this is not the issue
The error raised is NotAllowedError: Operation failed
Expected behavior
Normally when navigator.credentials.create is called, a special nativve pop up is displayed offering the user to choose which Fido2 credentials to use (if you try in safari or other browser this is what happens).
Specifications
OS: MacOSX
neu CLI: v9.4.0
Neutralinojs binaries: v4.9.0
Neutralinojs client: v3.8.0
Additional context
I believe the credentials connector bindings to native MacosX (and likely other OS) UI for FIDO2 management is not shipped with the executable.
The text was updated successfully, but these errors were encountered:
I have checked on webview repository and there is a warning in the README saying
it does not attempt to support user interaction features like alert(), confirm() and prompt() and other non-essential features like console.log()
navigator.credentials do need user interaction (usually a popup requesting to select a fido2 device and asking user to enter a pin)
I guess there is no way this can change. The only way then to be independant from web view would be to bind navigator.credentials to opensourc libfido2. The dependencies could be distributed independently
I have unfortunately very little knowledge of C so right now i am using Neutralino.os.execCommand to run the libfido2 utilities. If somebody can bind it directly in some kind of Neutralino.custom.credentials.create and Neutralino.custom.credentials.get I would be happy to pay for it.
Describe the bug
On macosx (not tested on other plateform though, but might be the same issue),
navigator.credentials
existing but does not work properly whennavigator.credentials.create({publicKey:{...}})
is calledTo Reproduce
open the inspector and type:
Note this is NOT due to window not focused (an issue in itself on applewebkit), before you asked, i have checked this is not the issue
The error raised is
NotAllowedError: Operation failed
Expected behavior
Normally when
navigator.credentials.create
is called, a special nativve pop up is displayed offering the user to choose which Fido2 credentials to use (if you try in safari or other browser this is what happens).Specifications
Additional context
I believe the credentials connector bindings to native MacosX (and likely other OS) UI for FIDO2 management is not shipped with the executable.
The text was updated successfully, but these errors were encountered: