🔧 Unbreak My AppAll fixesError codesFix KitsSponsor

Auth fixes

Magic link / OAuth login redirects to localhost:3000
After clicking the email link or Google login, the browser opens http://localhost:3000
LovableBoltv0CursorAuth
Error 400: redirect_uri_mismatch (Google sign-in)
Error 400: redirect_uri_mismatch. The redirect URI in the request does not match the ones authorized
CursorReplitBoltAuth
User is logged out after page refresh
After reload, user is null and protected pages redirect to /login
LovableBoltv0Auth
Supabase confirmation, magic link or password reset emails not sending
email rate limit exceeded (429 over_email_send_rate_limit) / Email address not authorized / signup works but n
LovableBoltv0CursorReplitAuth
App emails (sign-up, password reset, receipts) land in spam: fix SPF, DKIM and DMARC
Confirmation, magic link, password reset or receipt emails go to the Spam/Junk folder, show 'via' or 'Be caref
LovableBoltCursorReplitv0Auth
Better Auth security release (Nov 2026): upgrade to 1.7.16 to stop Expo account takeover
GHSA-4wq4-2ppv-q3hg / CVE-2026-121802 (critical, CVSS 9.1): @better-auth/expo below 1.7.16 lets an attacker wh
Cursorv0BoltReplitAuth
Admin page is hidden but not protected (anyone can open /admin or call admin APIs)
A normal user (or a logged-out visitor) types https://your-app.com/admin and the admin dashboard loads / the A
LovableBoltCursorReplitv0Auth
Demo login, auto-login or hard-coded test credentials left in your live app
Anyone can open my live app and is already signed in (often as admin) / the login form comes prefilled with ad
LovableBoltCursorReplitv0Auth
Login rate limit only counts per email: credential stuffing gets through
Users report their account was taken over even though my login has a rate limit / Auth logs show many failed s
LovableBoltCursorReplitv0Auth
Supabase Edge Function callable by anyone (the anon key passes verify_jwt)
verify_jwt is on, but my Edge Function still runs for logged-out users / anyone can call https://<project-ref>
LovableBoltCursorReplitv0Auth