@baris Much pending, I put some of my own cash in too though. 😆
Authorisation for app on same server as NodeBB
I have an app on the same server as my NodeBB installation, and I want to be able to read data into the app from the NodeBB api. If I have a user set up for this reason, how do I login via the app?
Our API shows different data depending on the logged-in user derived from the cookie-based session. For regular data, just
GET'ting the API responses from urls with
api/prepended should be enough.
Were you looking for private user data to be returned via the API?
@julian yes I want to retrieve data that has been restricted to some users.
In that case, that would probably be something that would be exposed in the write-api, which is currently in the works.
Mostly because it would have proper API key access and such.
babaggeii last edited by babaggeii
@julian ah OK, lots to look forward to. That api will give NodeBB so much power. I can imagine that plugins will be much easier to write too.
This post is deleted!