I am a super noob to require JS and I had a feeling it was something related to calling a require but just am still trying to get used to the frameworks in play 😛
I'm trying to adapt an old plugin for ldap connection with new nodebb requirements.
nodebb-plugin-sso-ldap is using passport-ldap wich doesn't seem to install anymore, I guess from node version.
The logo appears on login screen but I get this error
/auth/ldap Unknown authentication strategy "ldap
I guess it's around the strategies.push something is wrong.
Any help appreciated.
You can find my code here: tedr56/nodebb-plugin-sso-ldap
Here are the server logs.
No error when the server starts.
Maybe this helps? sso-open-ldap