Is there a way to get a callback or to trigger a request to an external URL when an user changes its username?
I would need to update it in our database which is linked to Discourse
1 Like
The user webhook should be triggered by a name change.
1 Like
But what I need is to be triggered by a username change, not by a name change
Same thing, the webhook should be triggered by any user details edit.
2 Likes
Thanks, I’ll take a look to it
I just tested and it’s not
I changed my username and the webhook didn’t trigger, whilst when changing name it does
2 Likes
By default, users can’t change their username, beyond a grace period for a few days after initial account creation.
4 Likes
But if a community decides to allow name changes forever, then the webhook should handle that change, no?
3 Likes