When a user logs out of my Discourse instance, the user_event webhook is triggered. Similarly, when a user is logged out by an API call to Discourse, the user_event webhook is also triggered.
I am curious if it is possible, at the webkhook payload URL, to determine if the user logout was initiated by the user or by the API.
The webhook is already being called. The problem I’m having is the inability to determine on the server hosting the webhook payload URL, if the incoming request was generated by an API logout or the user choosing to logout.