# Rules For Password Reset

**URL:** <https://community.auth0.com/t/rules-for-password-reset/6244>\
**Category:** Get Help\
**Tags:** rules, password-reset\
**Created:** [April 18, 2017, 5:46am UTC](https://community.auth0.com/t/rules-for-password-reset/6244 "2017-04-18T05:46:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Havlick](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Ryan\_Havlick](https://community.auth0.com/u/Ryan_Havlick)\
**Post date:** [April 18, 2017, 5:46am UTC](https://community.auth0.com/t/rules-for-password-reset/6244/1 "2017-04-18T05:46:49Z")

</div>

Is there any way to write a rule that targets a password reset?

I need to basically prevent a password reset from happening in a few situations.

Thanks

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [April 18, 2017, 8:44am UTC](https://community.auth0.com/t/rules-for-password-reset/6244/2 "2017-04-18T08:44:58Z")

</div>

Rules run after the authentication event, hence cannot run before a password reset event. This seems like it would be suited to a [Hook](https://auth0.com/docs/hooks), however we currently do not have hooks for password reset events as this feature is still in beta - I have added this suggestion for our team to consider.

The only way to do this now if to set up an endpoint on your backend, which will do the required checks, then either call the Auth0 password reset endpoint, or deny it.

---

<div class="post-metadata">

**Author:** ![Ryan\_Havlick](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Ryan\_Havlick](https://community.auth0.com/u/Ryan_Havlick)\
**Post date:** [April 18, 2017, 9:42pm UTC](https://community.auth0.com/t/rules-for-password-reset/6244/3 "2017-04-18T21:42:13Z")

</div>

Thanks Prashant, by any chance do you know when that feature will become available?

Thanks

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [April 19, 2017, 10:07am UTC](https://community.auth0.com/t/rules-for-password-reset/6244/4 "2017-04-19T10:07:53Z")

</div>

Unfortunately not - I have submitted this request for our engineering team to review, however I do not have any ETA for this.

---

<div class="post-metadata">

**Author:** ![Ryan\_Havlick](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Ryan\_Havlick](https://community.auth0.com/u/Ryan_Havlick)\
**Post date:** [April 19, 2017, 10:10am UTC](https://community.auth0.com/t/rules-for-password-reset/6244/5 "2017-04-19T10:10:13Z")

</div>

Great, thanks Prashant.

---

<div class="post-metadata">

**Author:** ![Ryan\_Havlick](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Ryan\_Havlick](https://community.auth0.com/u/Ryan_Havlick)\
**Post date:** [April 19, 2017, 10:10am UTC](https://community.auth0.com/t/rules-for-password-reset/6244/6 "2017-04-19T10:10:13Z")

</div>

Great, thanks Prashant.

---

<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:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/rules-for-password-reset/6244/7 "2018-03-02T05:53:18Z")

</div>


