Skip to content
Every tutorial here is 100% free — and always will be
LSLovableStudent

How do I test password reset?

Last checked 31 Aug 2026

Short answer

Request a reset with a real account, confirm the email arrives with a working link, complete the reset, and confirm the old password stops working and the reset link can't be reused.

Steps to test

  1. Trigger "forgot password" from the real login screen using a genuine test account.
  2. Check the email arrives promptly, isn't in spam, and the link points to your actual domain (not a broken redirect).
  3. Follow the link and set a new password — confirm the new password rule validation matches sign-up (length, complexity if configured).
  4. Log in with the new password — confirm it works.
  5. Try the old password — it should be rejected.
  6. Try reusing the same reset link a second time — it should be expired/invalid, not usable again.
  7. Let a reset link sit unused past its expiry window and confirm it correctly stops working (Supabase auth links typically expire; check the time window with Lovable if unsure).

A prompt if it's not working

The password reset email isn't arriving / the reset link errors out — check the auth email settings and the redirect URL configuration for password reset.

What usually goes wrong

  • Reset emails not configured with a proper "from" address or redirect URL, so links point to localhost or the wrong domain after publishing — always retest this after moving to a custom domain.
  • Reset links that don't expire or can be reused, which is a real security gap.
  • No rate limiting on reset requests, letting someone spam a user's inbox.
  • Confusing "password reset" (forgotten password) with "change password" (logged-in user) — test both if you offer both.

See also /questions/how-do-i-test-user-registration.

Was this answer helpful?

Related questions

Website made, maintained and hosted by PromptSites.com

PromptSites logo