# Custom script execution on block and unblock on a user

**URL:** <https://community.auth0.com/t/custom-script-execution-on-block-and-unblock-on-a-user/183695>\
**Category:** Get Help\
**Tags:** user-profile, user-management\
**Created:** [March 11, 2025, 10:11am UTC](https://community.auth0.com/t/custom-script-execution-on-block-and-unblock-on-a-user/183695 "2025-03-11T10:11:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashok.chandrashekar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ashok.chandrashekar/32/71783_2.png) [@ashok.chandrashekar](https://community.auth0.com/u/ashok.chandrashekar)\
**Post date:** [March 11, 2025, 10:11am UTC](https://community.auth0.com/t/custom-script-execution-on-block-and-unblock-on-a-user/183695/1 "2025-03-11T10:11:48Z")

</div>

Hi Team,

We have a requirement , where we want to notify the application when user gets blocked due to brute force login attempts approach and also when user does a self unblock via email ?  
Can it be achieved !

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [March 31, 2025, 3:11pm UTC](https://community.auth0.com/t/custom-script-execution-on-block-and-unblock-on-a-user/183695/3 "2025-03-31T15:11:59Z")

</div>

Hi @ashok.chandrashekar

Welcome to the Auth0 Community!

There’s currently no option out of the box to achieve this. You can try to utilize the logstream → [https://auth0.com/docs/customize/log-streams](https://auth0.com/docs/customize/log-streams) to build the script on your side. I would encourage you to open up a new thread in the #Product Feedback category with the explanation for your use case.

Thanks  
Dawid

---

<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:** [April 14, 2025, 3:12pm UTC](https://community.auth0.com/t/custom-script-execution-on-block-and-unblock-on-a-user/183695/4 "2025-04-14T15:12:32Z")

</div>

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