Directory Connector setup

Hi everyone! Since the only available bwdc version supported by vaultwarden is 2.9.2 would like kindly ask to help with install. Maybe there are someone who were facing same issues installing this particular version.
Current setup is:

Ubuntu 22.04 LTS
VaultWarden running behind Nginx
Node.js 18 (tried many versions already, still can't get it to work)

Node is installed via snap package, can’t get through even the npm install command in the bwdc project directory, always getting this error:

npm ERR! code 7
npm ERR! path /home/sa/directory-connector/node_modules/lzma-native
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build && rimraf build

I’ve tried other node and npm versions, still no result. Latest bwdc version goes through no problem though. I will be really grateful if anyone knows how to fix/install it the other way around :smiley: Thanks in advance

IRRC the Bitwarden Public API support was added to Vaultwarden after some discussion with the official team as it does make calls to their public API endpoint I believe.

Looks like the Wiki may need to be updated though for the directory connector, but it does specify the Public API support being added.