# Получение целевого пользователя для событий вебхуков уведомлений

**URL:** <https://meta.discourse.org/t/getting-the-target-user-for-notification-webhook-events/129052>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [19.Сентябрь.2019 21:45:57 UTC](https://meta.discourse.org/t/getting-the-target-user-for-notification-webhook-events/129052 "2019-09-19T21:45:57Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [13.Июль.2020 18:16:53 UTC](https://meta.discourse.org/t/getting-the-target-user-for-notification-webhook-events/129052/11 "2020-07-13T18:16:53Z")

</div>

Привет, Альберт!

Я считаю, что это отличная идея, и я создал коммит, который добавит external\_id пользователя, если включен SSO.

> <https://github.com/discourse/discourse/commit/a900c99993aa029230b57d9fd0d96365e1579a21>
>
> If sso is enabled the notification payload will now include the
> external\_id for …the user.
> 
> This was requested on meta: https://meta.discourse.org/t/-/129052/10

Надеюсь, это поможет! Это будет добавлено на ваш сайт при следующем развертывании, которое, скорее всего, состоится на этой неделе.

---

_[View the full topic](https://meta.discourse.org/t/getting-the-target-user-for-notification-webhook-events/129052)._
