Introduction
Imagine forgetting the secret code to enter your house. You need a way to prove who you are and get a new key safely. Password reset flows solve this problem for online accounts by helping users regain access without risking security.
Imagine you lost your house key. To get a new one, you prove your identity by showing an ID to the locksmith. The locksmith then gives you a temporary code to pick up your new key. After you get the new key, you can enter your house again safely.
┌───────────────────────────┐
│ User requests password │
│ reset │
└─────────────┬─────────────┘
│
▼
┌───────────────────────────┐
│ Verify user identity via │
│ email or phone │
└─────────────┬─────────────┘
│
▼
┌───────────────────────────┐
│ Send reset link or code │
│ (time-limited) │
└─────────────┬─────────────┘
│
▼
┌───────────────────────────┐
│ User creates new password │
│ following security rules │
└─────────────┬─────────────┘
│
▼
┌───────────────────────────┐
│ Confirm reset and allow │
│ login with new password │
└───────────────────────────┘