How to use Api Login
-
Hi. Till now I've been using nodebb-plugin-ns-login to check the username and password of my bb folks from other sites I've been working on.
I've updated Nodebb and now, this plugin doesn't work anymore. The author says that now Nodebb has the endpoint api/login so it is not longer maintained.
This plugin allowed me to send a username and a password thru a GET request so it was very easy for me to send these requests with wget inside my server. I've been looking arround the API documentation (this part) but I don't get it.
What I want to do is to be able to check locally if the password of a username is correct using wget. Is there any way?
Thanks.
-
I think what you want is this route in the write API:
https://docs.nodebb.org/api/write/#tag/utilities/paths/~1utilities~1login/post