Forum OpenACS Development: OpenACS password reset links now expire and can be used only once

OpenACS.org is now running the updated password reset workflow. When you request a reset, OpenACS emails you a link with a randomly generated token. The token expires and is consumed when you successfully change your password. If you have an email from before the update, request a fresh link.

The change uses auth::token, a reusable OpenACS API for issuing and consuming expiring, single-use tokens. Password recovery is one use of this infrastructure. Other workflows can use the same API for their own purpose-specific tokens.

This addresses both concerns Jeff Rogers raised in 2021. Reset links no longer contain the stored password hash, and unused links are valid only for a limited time. I tested the new workflow on OpenACS.org and successfully reset my password.

Thanks to Jeff for raising the issue and suggesting token-based recovery. Bug 3462 · Jeff’s original forum post