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
I have checked my logs and I am sure is a bug in this package.
I can reproduce this bug in isolation (vanilla install)
I can suggest a workaround as a Pull Request
Expectation
The function should return the credential data and ID as advertised by its types.
Description
Currently the assertRaw function correctly retrieves the credentials, but then calls wfetch and returns its result, which seems to only provide the success and error values.
The id would be nice to have here, to enable follow up code interaction for example to show a dialog to assign the credential a nickname.
Reproduction
const{ success, error, id, credentials, data }=awaitWebpass.attest('/webauthn/register/options','/webauthn/register',)console.log(credentials,id,data)// <--- All are undefined
Stack trace & logs
No response
The text was updated successfully, but these errors were encountered:
I think it's better to make the wftech function debuggable, so this way you can know what is being sent and received. If there is a connection error, it should appear in the browser console.
Bundler & Interpreter
No response
Browser & OS
No response
Have you done this?
Expectation
The function should return the credential data and ID as advertised by its types.
Description
Currently the
assertRaw
function correctly retrieves the credentials, but then callswfetch
and returns its result, which seems to only provide the success and error values.The id would be nice to have here, to enable follow up code interaction for example to show a dialog to assign the credential a nickname.
Reproduction
Stack trace & logs
No response
The text was updated successfully, but these errors were encountered: