# Webhook and SSO user mapping

**URL:** <https://meta.discourse.org/t/webhook-and-sso-user-mapping/68615>\
**Category:** SSO\
**Created:** [August 23, 2017, 2:00pm UTC](https://meta.discourse.org/t/webhook-and-sso-user-mapping/68615 "2017-08-23T14:00:29Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Vaishak\_Kallore](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaishak_kallore/32/120380_2.png) [@Vaishak\_Kallore](https://meta.discourse.org/u/Vaishak_Kallore)\
**Post date:** [August 23, 2017, 2:00pm UTC](https://meta.discourse.org/t/webhook-and-sso-user-mapping/68615/1 "2017-08-23T14:00:29Z")

</div>

Hi there,

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.

---

_[View the full topic](https://meta.discourse.org/t/webhook-and-sso-user-mapping/68615)._
