Supabase password reset link says expired or invalid: how to fix it
Reset link says "Email link is invalid or has expired"? The 6 causes, how to tell which one you have, and a fix that survives email scanners.
Read the guide →Short, practical fixes for the problems that show up when an AI-built app meets real users: login, database permissions, payments and launch. Each guide starts with the answer, then the steps.
Need a human to finish or fix your Lovable app? Hire a Lovable developer.
New: Security alerts for AI coding tools. Latest: Researchers found customer data readable without a login in thousands of Lovable apps.
Free tool: Did my repo leak API keys? Check your files in your browser. Nothing is uploaded.
Reset link says "Email link is invalid or has expired"? The 6 causes, how to tell which one you have, and a fix that survives email scanners.
Read the guide →Works in Replit Preview, but is it ready for real users? 8 checks on the published app: Secrets, your two databases, files that reset, login, data and payments.
Read the guide →Your Lovable app is live but not on Google? It is rarely JavaScript now. Check your stack, then use URL Inspection to find which of 7 causes it is.
Read the guide →Lovable Cloud or your own Supabase? Who owns your users and data, what changes for login, and what moves (and what does not) if you switch later.
Read the guide →Connecting Supabase MCP to Cursor or Claude Code gives an AI your database. Scope it to one project, make it read-only, keep production out and review every tool call.
Read the fix →Cron jobs and webhook endpoints skip user login, so a secret check that only runs "if a secret exists" can leave them open to everyone. Test yours with curl, then make them fail closed.
Read the fix →Deleting a user fails because one of your tables still points at them. Find which one, then choose cascade or set null per table so you can delete accounts without losing orders or invoices.
Read the fix →If users can update their own profile row, they can make themselves admin or Pro from the browser. Test it with your public key, then move or lock role, is_pro, plan and credits, and fix functions that trust a user id.
Read the fix →Picked "Yes, and don't ask again" in Claude Code? Your password or API key may be saved in .claude/settings.local.json, and maybe on GitHub. Check your repo and history, rotate first, then stop tracking the file.
Read the fix →RLS is on but a view still shows or deletes other users' data? Find views that run as their owner, turn on security_invoker, and revoke the anon delete and truncate grants you don't need.
Read the fix →Five read-only prompts to paste into Lovable, Cursor or Claude Code before launch, plus the checks to do yourself: data between users, secret keys, payment unlocks and views that skip RLS.
Get the prompts →Which Supabase key can go in your Lovable or Bolt app's browser code, which must stay on the server, and what changes with the new publishable and secret keys.
Read the guide →Stripe payments work in test mode but not live in your Lovable or Bolt app? Check live keys, the live webhook and its whsec_ secret, and verify every event.
Read the fix →Run Lovable's free Deep security scan, then four checks a scan can't do for you: data rules, the two-account test, secret keys, and whether paid features really need a payment.
Run the check →From October 30, 2026, new Supabase tables aren't open to your app until they get a GRANT. Add grants, RLS and policies together, and never grant everything to anon.
Read the fix →Find tables with RLS off, policies that allow everything, and secret keys in the browser, then run the two-account test. Includes copy-paste Lovable prompts.
Run the check →Most login loops come from (1) Supabase Site URL / Redirect URLs not matching the live domain, (2) the app redirecting before the Supabase session loads, (3) signing in on one domain (www vs bare) and landing on another, or (4) an RLS policy blocking the profile read after login.
Read the fix →Start with a free X-ray: 2 minutes, no code or passwords. You'll get a plain-English verdict on what works, what only looks done, and your biggest risk. An AIVolve developer reviews every X-ray within 1 business day.
Get a free X-ray →Want help instead of a guide? See pricing or get a free X-ray.