Recover access to the existing account

Imagine a Budapest pottery-supplies wholesaler with a dealer portal for viewing orders. A customer who uses email-and-password sign-in forgets their password. They need access to the same account and orders, not a second registration. Keep any other supported sign-in methods visible so customers can use their usual route.

Separate four milestones: the reset request is accepted, the customer receives an email, the new password is confirmed, and sign-in succeeds. A successful request does not prove inbox delivery. For the wholesaler, changing a password must neither create another customer record nor alter an order.

Give useful feedback without exposing account membership

Use neutral public wording for registered and unregistered addresses, such as explaining that an eligible account will receive instructions. Firebase recommends email enumeration protection and notes that it changes error reporting. Ask developers to check the service configuration as well as the visible wording; copy alone is not that protection.

Let customers correct a mistyped address and understand how to request another email. Explain the chosen resend behaviour without promising arrival within an invented time. A service failure needs a useful retry message. Do not direct someone to register again merely because their email is slow to arrive.

Choose who maintains the reset page

Firebase provides a default action page and supports a custom handler. Its reset example checks the link before confirming a new password. For the wholesaler, compare the standard page with a branded version: custom wording and navigation offer control, but also add maintenance of translations, errors and return behaviour.

For an invalid or expired link, provide a clear route to request another. Avoid a dead-end page or a password form that can never finish. Firebase supports localising reset emails. Review the actual email, reset page, failure message and sign-in page together in each supported language, including when the email opens in another browser.

Confirm the new password, then complete sign-in

Describe the password requirements before submission and make rejection messages specific enough to act on. MDN distinguishes new-password fields from current-password fields for browser assistance. Mark the reset fields accordingly and test password-manager filling and pasting. Do not assume a password manager behaves identically in every browser.

Show password-changed confirmation only after the service confirms it. For this portal, follow it with a clearly labelled Sign in action. Treat any automatic sign-in as a separate implemented step whose result must be checked. After authentication, return to an approved portal destination and enforce current access rights; recovery must not submit or modify an order.

Rehearse recovery before handover

Use test accounts and mailboxes. Record outcomes without including passwords or reset links in shared reports. Run these checks before accepting the journey:

  • Request a reset for registered and unused test addresses; compare the public feedback.
  • Correct a mistyped address and repeat a request; verify the documented resend behaviour.
  • Open a valid link in another browser and follow the chosen language through to sign-in.
  • Try expired and previously used links; confirm there is a useful recovery route.
  • Test rejected passwords, service failure, keyboard use and password-manager filling.
  • Sign in with the new password and verify the same customer account and unchanged orders.

Sources and further reading

← Back to Insights