Stack
Auth errors
Auth on this page is the sign-in screen, not every Supabase session bug. Error 400: redirect_uri_mismatch is Google comparing redirect_uri to Authorized redirect URIs. Scheme, host, port, and path all count. That same page now covers the other screen that used to be a second URL: the browser returns to localhost:3000 because the Supabase Site URL, or a redirectTo compiled into the client, is still local. Google never shows an error in that case. Supabase ignored the app URL and used Site URL. A bounce between the login route and the app, with no Google error and no localhost, is the redirect-loop page.
Clerk is the missing publishable key, and a middleware file Clerk does not see. Firebase is an unauthorized domain, an API key the referrer blocked, and missing or insufficient permissions. Lovable Google login that works in the preview and fails after publish stays on the Lovable hub, because the settings screens are Lovable's. Supabase invalid login, email confirmation, and a missing session stay on the Supabase hub. Start with the sentence on the screen.
On this page
- Error 400: redirect_uri_mismatch
- ERR_TOO_MANY_REDIRECTS on login
- Missing publishableKey
- auth() was called but Clerk can't detect usage of clerkMiddleware()
- Firebase: Error (auth/unauthorized-domain)
- API_KEY_HTTP_REFERRER_BLOCKED
- Missing or insufficient permissions
Every other fix is on the error index. Paste the first line of the message there.