Firefox browser extension biometrics integration stuck on "Awaiting confirmation from desktop"

@nikoul and other MacOS Firefox users:

There is a new comment to a corresponding GitHub issue that suggests this worked for them:

Create a file ~/Library/Application Support/Mozilla/NativeMessagingHosts/com.8bit.bitwarden.json with the following content:

{
  "name": "com.8bit.bitwarden",
  "description": "Bitwarden desktop <-> browser bridge",
  "path": "/Applications/Bitwarden.app/Contents/MacOS/desktop_proxy",
  "type": "stdio",
  "allowed_extensions": [
    "{446900e4-71c2-419f-a6a7-df9c091e268b}"
  ]
}

PS: I don’t know MacOS well enough to know if e.g. the exact path in that file can vary or not.