Video
Sign-in works in preview but fails when published
Sign-in works in preview but fails when published. People hit an error or end up back at login.
Video transcript
Sign-in works in preview but fails when published. People hit an error or end up back at login. It can mean your published address is missing from the auth Redirect URLs list, or a Site URL is set elsewhere. Why: after sign-in, people are only sent back to addresses on an approved list. A published address not on it breaks sign-in. With your own Supabase project, you set the Site URL and addresses in its URL Configuration. Step 1. Check that your published address or custom domain is on the Redirect URLs list. Step 2. Check that the Site URL is not set by hand to somewhere else. Step 3. For Google sign-in with your own credentials, check the new domain has a redirect URI in Google Cloud. Step 4. In a private window, sign up on your live app as a new user. Then sign out, sign in again, and confirm you land on your app. VibeFix (vibe-fixer.com): free check first.
Read the full guide: Lovable authentication errors: 9 fixes (2026)