Authorisation for app on same server as NodeBB
-
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 withapi/
prepended should be enough.Were you looking for private user data to be returned via the API?
-
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 withapi/
prepended should be enough.Were you looking for private user data to be returned via the API?
-
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.
-
@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.