Query NodeBB to add user to group
-
Hi guys,
I'd like to ask you for some help on a problem I need to solve. In a nutshell, I have to make it so that my nodebb forum can be queried to add a user to a group.
The reason of my request is that I have a website that is connected to my forum through the Session Sharing plugin. You login on the website, a signed cookie is created, and when you open the forum the Session Sharing plugin reads that cookie and logs you in (or creates and account first if it doesn't exist yet). Now I want to give users the chance to manage their groups on my website and see that reflected in nodebb.
Could you point me to any existing plugin that allows me to do so, or just to the way such a system could be implemented?
Thank you all!
-
@baris said in Query NodeBB to add user to group:
This should go through https://github.com/NodeBB/nodebb-plugin-write-api
That was exactly what I needed and worked like a charm. Thank you!