Auth0 Home Blog Docs

Passoword expiration requirement

Hi Team,

Hope you are having a great day.

We need help on the below topic:

We have a requirement for password reset should happen after X days.
& if the user does not reset after X day, he should be navigated to a Page where he can set a new password.

We contacted a sales team of auth0 with the above query, they suggested us to build a template or create a rule for this?

Reset a password after x day is frequently asked client requirement, It would be really good if someone in auth0 community shares his guideline or the rule which accomplish this requirement?

Thanks & Regards,
Ashish Bainade

Hey there @ashish.bainade!

They are correct indeed! Using a bit of JavaScript and modyfying the rule we already have in our templates which is called Check last password reset you can achieve such scenario.

Let me know if you have any more questions!

Hi konrad,

Thanks for replying.

I went into the template tab in auth0, I could not found Check last password reset you are talking about.
I have attached an image which shows a list of templates available for me.

Are you using a paid subscription of auth0?

Thanks & Regards,
Ashish Bainade

No it’s free to use for everyone. You need to go to Rules section in the dashboard:

https://manage.auth0.com/#/rules/new

and you will find the rule template there, it only needs a bit of JavaScript modification.

Thank you konrad, it worked.

1 Like

Glad you were able to make it!

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