# Force Password Expiration after 90 days with automatically redirect

**URL:** <https://community.auth0.com/t/force-password-expiration-after-90-days-with-automatically-redirect/115079>\
**Category:** Get Help\
**Tags:** reset-password-prompt-new-experience, login-experience\
**Created:** [August 31, 2023, 12:06am UTC](https://community.auth0.com/t/force-password-expiration-after-90-days-with-automatically-redirect/115079 "2023-08-31T00:06:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![geovanny](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/geovanny/32/50414_2.png) [@geovanny](https://community.auth0.com/u/geovanny)\
**Post date:** [August 31, 2023, 12:06am UTC](https://community.auth0.com/t/force-password-expiration-after-90-days-with-automatically-redirect/115079/1 "2023-08-31T00:06:37Z")

</div>

I have a security requirement related to users’ password expiration. After 90 days of the last password change, I need to force the user to reset his password during the login redirecting the user automatically to the password change screen. After the user changes the password, the login should continue with no interruptions or additional actions. Is there a way this can be achieved by configurations or with Auth0 Actions?

---

<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:** [August 31, 2023, 1:02am UTC](https://community.auth0.com/t/force-password-expiration-after-90-days-with-automatically-redirect/115079/2 "2023-08-31T01:02:09Z")

</div>

Hi @geovanny

Welcome to the Auth0 Community!

If you are looking for a quick solution to your problem, you can check our [Password Rotation Action](https://marketplace.auth0.com/integrations/auth-0-password-rotation?tab=install) which won’t allow the user to log in, forcing him to change password.

If you found this post helpful or interesting, please give it a like 👍 . Your interaction makes a difference. **Have a wonderful day!** 🌞

Dawid

* * *

[📹 _Prefer how-to videos instead of written docs? We’ve got you covered! Check out our OktaDev YouTube channel for those helpful resources!_](https://www.youtube.com/@OktaDev/videos)

---

<div class="post-metadata">

**Author:** ![geovanny](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/geovanny/32/50414_2.png) [@geovanny](https://community.auth0.com/u/geovanny)\
**Post date:** [August 31, 2023, 1:13am UTC](https://community.auth0.com/t/force-password-expiration-after-90-days-with-automatically-redirect/115079/3 "2023-08-31T01:13:14Z")

</div>

Hi @dawid.matuszczyk, thanks for your response.

Unfortunately, this action only blocks logins for users with expired passwords. However, I would like to implement an automatic redirect to the password change screen instead of only blocking the login attempt and showing an error message.

Is there a suggested way to implement this?

---

<div class="post-metadata">

**Author:** ![geovanny](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/geovanny/32/50414_2.png) [@geovanny](https://community.auth0.com/u/geovanny)\
**Post date:** [September 12, 2023, 9:24pm UTC](https://community.auth0.com/t/force-password-expiration-after-90-days-with-automatically-redirect/115079/4 "2023-09-12T21:24:21Z")

</div>

Any update on this guys?

---

<div class="post-metadata">

**Author:** ![Stuart.Carter](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Stuart.Carter](https://community.auth0.com/u/Stuart.Carter)\
**Post date:** [November 22, 2023, 11:00am UTC](https://community.auth0.com/t/force-password-expiration-after-90-days-with-automatically-redirect/115079/5 "2023-11-22T11:00:53Z")

</div>

We were also expecting Auth0 UI to handle the reset password flow automatically as part of Universal Login, instead of just throwing an error back to the application. Password expiry should be a foundational part of an identity provider. The text of the error is also not localisable so would have to be interpreted by our application and a substitute string shown instead.

When will this get first-class support within Universal Login?

Until then, has anyone built a custom action to make this seamless?

For example, I am thinking that the action could automatically trigger a password reset email to the user when their password has expired so that the experience is as ‘seamless’ as possible. Our app can still show the ‘error’ message and that an email is on its way.

Thanks

---

<div class="post-metadata">

**Author:** ![alberto.castano](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alberto.castano/32/48574_2.png) [@alberto.castano](https://community.auth0.com/u/alberto.castano)\
**Post date:** [April 25, 2024, 7:42am UTC](https://community.auth0.com/t/force-password-expiration-after-90-days-with-automatically-redirect/115079/6 "2024-04-25T07:42:21Z")

</div>

Any updates on this?

---

<div class="post-metadata">

**Author:** ![evan.gillogley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/evan.gillogley/32/60582_2.png) [@evan.gillogley](https://community.auth0.com/u/evan.gillogley)\
**Post date:** [May 8, 2024, 11:48am UTC](https://community.auth0.com/t/force-password-expiration-after-90-days-with-automatically-redirect/115079/7 "2024-05-08T11:48:39Z")

</div>

> [@geovanny](#):
>
> his password during the login redirecting the user automatically to the password change screen.

Any update on this? Rotation is ok but we need it to automatically redirect

---

<div class="post-metadata">

**Author:** ![ale.vesga1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale.vesga1/32/60921_2.png) [@ale.vesga1](https://community.auth0.com/u/ale.vesga1)\
**Post date:** [November 25, 2024, 6:58am UTC](https://community.auth0.com/t/force-password-expiration-after-90-days-with-automatically-redirect/115079/8 "2024-11-25T06:58:28Z")

</div>

Our team is going back and answering some of our most frequently asked questions.

Password resets are still the official Auth0 recommended way to resolve this use case. Here is the instructional video we created walking through the setup process:

- [Force a Password Reset after a Specific Number of Days](https://community.auth0.com/t/force-a-password-reset-after-a-specific-number-of-days/103037)

There may be another way which is to redirect to the password change ticket within the Action i.e: `api.redirect.sendUserTo("password change ticket");`

See here about redirecting within Actions:

- [Redirect with Actions](https://auth0.com/docs/customize/actions/flows-and-triggers/login-flow/redirect-with-actions)

If you would like to If see a change in this behavior please log some product feedback here [Auth0: Secure access for everyone. But not just anyone.](https://auth0.com/feedback)

Hope this helps.

---

<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 9, 2024, 6:59am UTC](https://community.auth0.com/t/force-password-expiration-after-90-days-with-automatically-redirect/115079/9 "2024-12-09T06:59:10Z")

</div>

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