if a user is alone in the forum he is connected but when another user access to the forum he is connected with the first user.
The token is however always different....
User Logout from external application
How can i call logout functionality from external application, so that Nodebb can logout. Any api available like /logout.
Reverse I am able to do, logging out my application when clicked on Nodebb logout.
You'll want to delete the
@julian I tried the same to delete express.sid in my application, but unable to get that expression.sid name under my application cookies, in browse console i'm able to see the cookie under application->cookies.
@julian Some where i have seen this reply replied by you If your game can read the mongodb database the forum uses (or Redis), then you can use the express.sid cookie to retrieve their session from the NodeBB database and log them in that way.
I can able to connect to mongoDB from my application by executing db.sessions.find().pretty();, there are no of cookies are available there. How can get the relevant cookie to delete and logout the user
The key format is
sess:id, where id matches the value found in express.sid