"Continue with Google" works in the Lovable preview, works on your published site, and then fails the first time you tap it inside the Capacitor app. Usually with a Google page that says Error 403: disallowed_useragent . Google blocks OAuth sign-in inside embedded WebViews, and a Capacitor app is exactly that: your web app running in WKWebView on iOS and Android System WebView on Android.
There are two ways around it. Open Google's sign-in page in the system browser and come back to the app through a deep link, or use Google's native sign-in sheet and hand the ID token to Supabase. Which one you can use depends on whether your app runs on Lovable Cloud or on your own Supabase project. We checked everything below on November 13, 2026.
Why the redirect that works on the web breaks in the app
On the web, supabase.auth.signInWithOAuth({ provider: 'google' }) sends the page to Google, Google sends it back to Supabase, Supabase sends it back to your site with a session.…