excludeCredentials are not being excluded #339
ioucyf
started this conversation in
Troubleshooting
Replies: 1 comment 2 replies
-
Never mind. I figured it out. The I now, however, have another question: I tried storing the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm testing my implementation by adding a virtual authenticator via the WebAuthn tab in Chrome. The credential list gets populated whenever a registration is successful. However, every time I attempt to register the same user, it creates another without excluding the one that already exists. I do add the existing credential as shown in the documentation:
Yet, new credentials keep on being created every time regardless.
Note that the credentialIDs I'm saving to the user's data are of type Uint8Array while the IDs shown in the virtual authenticator are in strings. I also know that these Uint8Array can in fact be converted back into readable strings, yet that's not what the library returns. I'm wondering if I have to do the conversion myself or not?
Beta Was this translation helpful? Give feedback.
All reactions