# Logging Password reset request

**URL:** <https://community.auth0.com/t/logging-password-reset-request/84749>\
**Category:** Get Help\
**Tags:** logs, reset-password, password-reset\
**Created:** [June 7, 2022, 6:25pm UTC](https://community.auth0.com/t/logging-password-reset-request/84749 "2022-06-07T18:25:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dheerajdhall2709](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dheerajdhall2709/32/13346_2.png) [@dheerajdhall2709](https://community.auth0.com/u/dheerajdhall2709)\
**Post date:** [June 7, 2022, 6:25pm UTC](https://community.auth0.com/t/logging-password-reset-request/84749/1 "2022-06-07T18:25:54Z")

</div>

Hello! We use `auth0-lock` for our login and I had a question regarding the password reset log. Is there a way for us to create a `Hook` or some kind of `Rule` that cane be triggered when a **Reset Password** request is sent to auth0 through the `auth0-lock`?

Looking for a way to log the password reset information to one of our logging clients. Using the Management API is one option but it would be cumbersome at the moment.

Looking for a way to log the user’s email id when the Reset Password request is made.

---

<div class="post-metadata">

**Author:** ![dheerajdhall2709](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dheerajdhall2709/32/13346_2.png) [@dheerajdhall2709](https://community.auth0.com/u/dheerajdhall2709)\
**Post date:** [June 8, 2022, 1:11pm UTC](https://community.auth0.com/t/logging-password-reset-request/84749/2 "2022-06-08T13:11:48Z")

</div>

Would Streams be the way to go about this?

---

<div class="post-metadata">

**Author:** ![alex.brett](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alex.brett/32/60157_2.png) [@alex.brett](https://community.auth0.com/u/alex.brett)\
**Post date:** [November 21, 2024, 9:56pm UTC](https://community.auth0.com/t/logging-password-reset-request/84749/4 "2024-11-21T21:56:45Z")

</div>

Hello @dheerajdhall2709!

Your reply is completely correct. [Log streams](https://auth0.com/docs/customize/log-streams) are a great way to go about this. Filtering by the `scpr` (success change password request) [Log Event Type Codes](https://auth0.com/docs/logs/log-event-type-codes) will allow you to filter for those and log them appropriately. These logs contain the user\_id.

If this is something you no longer wish to do, it is possible through actions. Using the [Post Change Password Trigger](https://auth0.com/docs/customize/actions/explore-triggers/password-reset-triggers/post-change-password-trigger), you should be able to extract the user\_id and other info in the action.

I hope this helps!

Best,  
Alex

---

<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:** [December 5, 2024, 9:57pm UTC](https://community.auth0.com/t/logging-password-reset-request/84749/5 "2024-12-05T21:57:29Z")

</div>

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