# Custom hook post-update

**URL:** <https://community.auth0.com/t/custom-hook-post-update/24542>\
**Category:** Get Help\
**Tags:** hooks\
**Created:** [April 28, 2019, 11:45am UTC](https://community.auth0.com/t/custom-hook-post-update/24542 "2019-04-28T11:45:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ore](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ore/32/12746_2.png) [@ore](https://community.auth0.com/u/ore)\
**Post date:** [April 28, 2019, 11:45am UTC](https://community.auth0.com/t/custom-hook-post-update/24542/1 "2019-04-28T11:45:36Z")

</div>

In my Auth0 scenario I need to run some hook every time a user has been changed in the user-management. Right now all I can find is `post-user-registration` hook but not `post-user-updated` hook.  
Is there a reason why this doesn’t exist?

My scenario is this -  
If some admin changed the roles of a user, other backend services need to be aware of this, so I would like to send a google pubsub event . I figure the best place to do this is from a Auth0 post… hook

Thanks

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [April 30, 2019, 8:31am UTC](https://community.auth0.com/t/custom-hook-post-update/24542/3 "2019-04-30T08:31:42Z")

</div>

Hey there @ore!

Not sure what’s the reasoning here. Let me ask it internally and get back to you with an answer!

---

<div class="post-metadata">

**Author:** ![ore](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ore/32/12746_2.png) [@ore](https://community.auth0.com/u/ore)\
**Post date:** [April 30, 2019, 8:43am UTC](https://community.auth0.com/t/custom-hook-post-update/24542/4 "2019-04-30T08:43:39Z")

</div>

The reasoning is that we have custom roles, that can be added/changed and other backend services need to be aware of these

for example we have a custom role that changes the response you get from a backend service, it needs to be in real-time and not only when the current token is expired…  
Therefor we’d like to notify the backend service that this role has changed

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [April 30, 2019, 8:44am UTC](https://community.auth0.com/t/custom-hook-post-update/24542/5 "2019-04-30T08:44:31Z")

</div>

Thanks a lot for providing that context!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 10, 2019, 10:07am UTC](https://community.auth0.com/t/custom-hook-post-update/24542/6 "2019-05-10T10:07:05Z")

</div>

I needed to submit an internal support request. Appropriate team is looking into that and I will get back to you once I have any news from them.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 16, 2019, 5:09pm UTC](https://community.auth0.com/t/custom-hook-post-update/24542/7 "2019-05-16T17:09:17Z")

</div>

I just managed to get the message on that from the

The team is in the process of evaluating our current set of extensibility points (i.e. hooks) and trying to determine if/where there should be more so thank you a lot for that feedback

There isn’t a particular reason this doesn’t exist now. The user could be updated during login by using a rule. The team is doing some work to enhance Rules and Hooks, and we’ll definitely take this feedback into consideration. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 31, 2019, 5:09pm UTC](https://community.auth0.com/t/custom-hook-post-update/24542/8 "2019-05-31T17:09:18Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
