I have successfully setup my first Discourse forum having force SSO login.
I would like to have this forum integrated in mobile app as well, for better impressions and was looking for Cloud Messaging options around. As Discourse has only push notifications, I have figured out the webhook way, which will send notifications to my external server, which will handle GCM/FCM calls.
It was successful with the integration, but I would like to prevent sending notifications to the same user who had posted/replied. I can identify the user if email address or SSO external ID is passing along with webhook requests (username trim from @!).
Can someone provide a solution to get posted user’s email/SSO external ID in webhook?
Thanks in advance.