How to manage password expiration

I’m using account-password in my React web application and I want to manage password expiration, but I don’t know how to do it. Any suggestions? Samples?
I couldn’t find anything online

1 Like

What kind of expiration do you want?

reading again my post I see it can be misunderstood. What I meant is after I close my browser I want to force my application to expire the login cookie or in any case I want to be forced to reenter my credentials after N days.