do I have to read the source for each object to learns its methods?
Yes, you will have to read the source code to see what methods are available.
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