Can not register Biometric Authentication in Firefox
Hi!
I can't register a new Biometric Authentication in Firefox. Google Chrome and Safari are OK... Just Firefox. I have this error:
This problem exists for registration only, the login process is working.
MacOS 14.2.1 Firefox 121.0.1
Hello, What is your authentication backend? the userid is the username ascii encoded, you can check the value received from backend in the console, so please share it
@mkalioby I think the response and user.id value is correct:
I checked the response value in different browsers and it was the same
I forgot to mention... I am running the example project
I'll try here and let you know
Ok ... I find the problem. The example project is good. I think there is a little problem with the Bitwarden extension in Firefox. This plugin supports FIDO2.
I'll log the output of navigator.credentials.create(options) and see that there are some @moz-extension errors in the stack:
Of course, I tested the use of this extension for login and there was no problem. It also worked correctly on the django-passkeys project.
Now I don't know if the problem is with your code or this extension.
Try a longer/shorter username and see if it will work
No, it's now work. There is a problem with Passkey extensions like Bitwarden.