Ah perfect. I completely missed that.
Best posts made by Brutus5000
Latest posts made by Brutus5000
How to change user name via external call?
I was able to setup a nodeBB forum with SSO of our own OAuth2 compliant service. So people login first time, their user is created an everything works as intended.
The problem is: In our service people can change their username. And I would like to update the name in nodeBB as well when this happens. How can I achieve that?
- I have not seen any documentation on changing usernames via plugin.
- I have no clue how to do this with the plugin system. From my understanding the hook system can only be triggered when actions are executed inside nodeBB. But in this case the action would be triggered from a 3rd party system without a user being logged in.
If anybody could point me into a direction in the docs or any examples I'd be happy.