Completely disable infinite scroll feature in NodeBB, i.e. configuration in ACP will have precedence over users' settings.
Just a small change to navigation behavior. Decided to share this as a plugin.
Simple API endpoint for external login. Special use case: external login checks if user's credentials are valid.
I'm using it for validation of user existence and correctness of credentials, so I can provide necessary services around NodeBB.
This plugin does not add UI elements and creates very low overhead on start-up script.
What is this supposed to be? Wasn't it already existed in the core?
Wasn't it already existed in the core?
Available for external use? Maybe, I didn't find.
@Nicolas do you mind giving an example how this plugin works? I make an ajax from an external application providing a username and password and i should be logged in?
Plugin checks login credentials. if they are correct, it will provide user object as a response. For example, I'm using this plugin for my external API.
/api/ns/login via POST, if credentials are correct, response will look like
This plugin does not create any persistent sessions.
@Nicolas would it be possible to modify your plugin to create a persistent session? if so, do you have any pointers for me to do so?
@julian any ideas?
any news on this? What @agarcia17 says is what i'm looking for.
@smendez-hi plugin was not designed to handle persistent sessions.
@Nicolas Ok, thanks. Then the only possible solution is Oauth2
The new version is available.
@nicolas i has a external website, when access website i use ajax make request login 'api/ns/login'... i received object user . but i do not received notification at external website.
socket.uid at serve = 0.
can you help me ?
sorry if i write less english.