Description of the issue:
Unable to get extension which requires a config file in “native-messaging-hosts” working in Brave
How can this issue be reproduced?
I’ve spent some time getting Brave approved for use in my customer’s corporate environment. Unfortunately a new browser extension, which is required for authentication, does not seem to work because I’m unable to identify where to symlink configuration required for the native-messaging-hosts folder.
In Google Chrome, the json configuration file needs to be linked in to /etc/opt/chrome/native-messaging-hosts/
.
I’ve tried symlinking the file in to:
- A new directory named
native-messaging-hosts
under/etc/brave
/etc/chromium/native-messaging-hosts/
~/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts
but the extension fails to load its configuration. The source file which is being symlinked is readable by the user as well as root.
Expected result:
The extension would work, correctly loading the JSON configuration file.
Brave Version( check About Brave
): Latest available for Linux, from deb package. Running on Ubuntu 22.04
Additional Information: None