Can't enable browser extension biometrics

In regedit the two keys exist :
HKEY_CURRENT_USER\Software\Mozilla\NativeMessagingHosts\com.8bit.bitwarden
with value : C:\Users\xxxxx\AppData\Roaming\Bitwarden\browsers\firefox.json
and
HKEY_CURRENT_USER\Software\Google\Chrome\NativeMessagingHosts\com.8bit.bitwarden
with value : C:\Users\xxxxx\AppData\Roaming\Bitwarden\browsers\chrome.json
but in C:\Users\xxxxx\AppData\Roaming\Bitwarden\browsers\
chrome.json is missing.

2 Likes

In regedit I removed the google key
HKEY_CURRENT_USER\Software\Google\Chrome\NativeMessagingHosts\com.8bit.bitwarden
since the json file was missing.

I restarted the computer, reinstalled bitwarden version 2022.5.1, cleared ‘windows hello’ and ‘browser integration’ options, and re-enabled them right away.

I then enabled biometric unlocking in both browsers (google and firefox) and everything works fine.

I restarted the bitwarden application which automatically installed version 2022.6.1 and everything is still fine.

4 Likes

Thank you! After digging online for days a variation of your solution got it to work for me.
For everyone struggling with enabling biometrics for Bitwarden in your browser, here’s how I did it (all credit to @mdeherder):

  1. Installed Bitwarden (current version 2022.6.1)
  2. Logged into Bitwarden
  3. Enabled Biometrics (Windows Hello)
  4. Enabled Browser integration
  5. Installed the Browser extension (in my case Firefox, but it also worked on Edge and Chrome)
  6. Logged into the browser extension
  7. Windows Key + R opens the “run” window
  8. enter “regedit” (without ") and hit enter
  9. Navigate to HKEY_CURRENT_USER\Software\Mozilla\NativeMessagingHosts\
  10. For me, the folder " com.8bit.bitwarden" was missing
  11. Right click on “NativeMessagingHosts” → New → Key"
  12. Name the folder “com.8bit.bitwarden” (without ")
  13. In this folder there is a “default” entry, double click
  14. In the value field, enter “C:\Users\YOURUSERNAME\AppData\Roaming\Bitwarden\browsers\firefox.json” (without ")
  15. Confirm, close the registry editor
  16. Now try enabling biometrics in your browser again, it should work (Click allow on the browser prompt)

For me it seems the problem is Bitwarden (the extension) or that the browser would not create the necessary registry entry.

For Chrome / Edge / whatever users:
This should be applicable for you as well. Just navigate to your browsers registry entry where you can also find the folder NativeMessagingHosts and create the same entry, just with a different value, eg “C:\Users\YOURUSERNAME\AppData\Roaming\Bitwarden\browsers\chrome.json” for Google Chrome

You can also use “C:\Users\YOURUSERNAME\AppData\Roaming\Bitwarden\browsers” to check if there’s a .json file for your preferred browser in that folder. For me, everything was there. If it’s missing, that’s a different issue…

Hope this helps.

8 Likes

In my case the chrome.json file isn’t present in the folder. I’ve done a clean installation of browser/desktop app and chrome extenstion but no chrome.json file presen instead there is a firefox.json file and I’ve never install firefox in my browser…

Anyone can help me?

See my answer above. I was in the same situation.

Is this problem still active with the developers? I still have the problem with both Chrome and Edge browsers. Windows 11 (all current updates), current Bitwarden desktop app (2022.6.2) and latest browser extensions. The registry hacks discussed here haven’t helped me.

Yes, thanks for your patience, the fix is still incoming.

For Windows users try this:

After enabling “Browser integration” in the desktop app, leave that same desktop app open and enable “unlock with biometrics” in all your browsers’ apps.

Worked for me on Windows 11! :grinning: :wink:

1 Like

many thanks mate, that did the trick
was about to give up on this ever working

This works for me in Windows 10/Firefox. Although there’s a typo in your keyname; the key should be com.8bit.bitwarden. Also in my case, the Mozilla registry directory was under HKEY_LOCAL_MACHINE.

Thanks @malmagel nice guide!

But it didn’t helped me at all.
Twicely checked Mozilla & Chrome registry entries "HKEY_CURRENT_USER\Software\Mozilla\NativeMessagingHosts" and configuration files in the "C:\Users\YOURUSERNAME\AppData\Roaming\Bitwarden\browsers"
Last versions updated for Bitwarden Desktop and Extensions,
But still receive a message when I press in extension settings - “Unlock with biometrics” :
image

Any idea or any help will be appreciated , cause I’m stuck with this issue for a long time.

1 Like

@mraxilus
So You key located here, right ?
HKEY_LOCAL_MACHINE\Software\Mozilla\NativeMessagingHosts\

This location require administrative privileges for amends.
Perhaps it can helps, I’m curious , this is the last hope.

Put a key to "HKEY_LOCAL_MACHINE\Software\Mozilla\NativeMessagingHosts" doesn’t helped me at all.

Hi @romapop, welcome to the community!

Here is some additional troubleshooting to try:

For Windows, you may need to install the Microsoft Visual C++ Redistributable before Windows Hello can be turned on in Desktop Preferences: Latest supported Visual C++ Redistributable downloads | Microsoft Learn

To troubleshoot this, we recommend uninstalling the Bitwarden desktop application and remove any leftover data: https://bitwarden.com/help/article/data-storage/#on-your-local-machine

After that, follow these steps and let me know the results:

  1. Install the Bitwarden desktop application from this link: https://vault.bitwarden.com/download/?app=desktop&platform=windows (it’s best to install the .exe from here, as there is limited support from the Windows Store application).

  2. In your Bitwarden Desktop app, navigate to Settings (on Windows, File → Settings).

  3. Scroll down to the Options section, and check the Allow browser integration box.

  4. In your Browser, navigate to the Extensions manager (e.g. chrome://extensions or edge://extensions), open Bitwarden, and toggle the Allow access to file URLs option.

  5. In your Browser Extension, open the Settings tab.

  6. Scroll down to the Security section and check the Unlock with biometrics box. You should be prompted by your Desktop app to input your biometric. Doing so will complete the initial setup procedure.

After completing that process, you should be able to unlock the browser extension with biometrics.

Additional Firefox troubleshooting

For the Firefox extension, you’ll want to make sure that the “Native Messaging” permission is enabled. It is an optional permission; however, it is required to function on Firefox:

Other users have also reported that disabling the “Run in Private Windows” function from the browser allowed it to connect properly on the next attempt.

@sj-bitwarden Thanks for trying to help!
But it didn’t helped at all. I’m still not able to use biometrics.
I was reinstalled everything, desktop and extensions for firefox and chrome with no success at all.
Currently in the Firefox I receive a message “Awaiting confirmation from desktop” with no any invites from desktop application.
In the Chrome I have still a message “Browser integration is not set up” .

Hey @romapop can you open a ticket with the support team at bitwarden.com/contact

I’m having this problem on Windows 10 with the MS Edge Chromium and Vivaldi extensions. The browser extensions were working OK, but the problem started after I cleared the browser internet caches, cookies, & saved passwords (I don’t use the browser passwords but occasionally I hit the ‘Save’ button by mistake).

The desktop app is up to date and has ‘Unlock with Windows Hello’ and ‘Allow browser integration’ set (it hasn’t been changed since the integration was working).

I couldn’t get the extension integrations to work, so I reinstalled them, but they still won’t integrate. When I click the ‘Unlock with biometrics’ option, the ‘Awaiting confirmation from the desktop’ message appears, then the Windows security ‘Verify for Bitwarden’ popup appears asking for my Windows PIN (as expected on this PC which doesn’t have a camera or fingerprint reader), I put in the pin and focus returns to the extension which displays ‘Unable to enable biometrics, action was cancelled by desktop application’.

I could set the ‘Unlock with PIN’ option instead, but the Windows Hello biometrics option was working OK previously, and I use this setting on my laptops.

@Dave - why are you trying to enable biometrics if your PC doesn’t support them?

You will have to use a PIN on your PC and then enable biometrics on your laptop. The settings are device independent.

As I said, the biometrics option has always worked and was working fine until this morning, when I cleared the browser caches, etc. Windows uses the Windows security popup asking for the Windows PIN as the biometrics validation in the absence of true biometrics.

As I also said, I’m aware that I can use the Bitwarden PIN option, but I prefer to have the Windows Hello login across all machines, and it also means I don’t have to keep the Windows PIN and Bitwarden PIN in sync or remember two PINS.

If there has been a change in the browser extensions recently that disables that feature, that’s OK, but otherwise, it looks like a problem.

Ah, now I understand what you mean. You were unlocking with Windows Hello PIN, which is the option you must enable in the Desktop App. But the option in the browser extension only says Unlock with Biometrics, even though that also includes Windows Hello on Windows PCs.

Anyways, I just tried it on my Windows box using Firefox and the latest BW extension, and it seemed to work fine for me. You might try 'refreshing everything by disabling Unlock with Biometrics in the extension, then the desktop app, then re-enabling them in the reverse order (i.e., desktop app then browser extension).

If that doesn’t work, I would reach out to Bitwarden support here: