Logout all users after change password

Hi, I am using Next js.

How to implement the logout of all users after a password change. I mean, I need to set a short access token lifetime and use revoke refresh token after password change. But I don’t know how to implement this with Next js (what settings I need to do or something else).

Thanks

Hi @eli2,

Welcome to the Auth0 Community!

Updating a password, email, or phone number causes a user’s Auth0 session to expire. (Reference: Sessions)

In this case, the user will be prompted to re-authenticate your app after changing their passwords.

Thanks,
Rueben