Hey everyone,
We wanted to share some of the technical challenges we’ve been facing with Google Sign-In in our Flutter app nammed okusnik. Our Appwrite project is configured with a redirect URL for OAuth sign-in: https://cloud.appwrite.io/v1/account/sessions/oauth2/callback/google/67ab12770007ea2d3196
In the Appwrite console, the OAuth callback URL is set exactly as above, ensuring that the session creation happens on Appwrite.
In our AndroidManifest.xml, we have an intent filter configured to catch deep link callbacks: <intent-filter android:autoVerify="true"> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.BROWSABLE"/> <data android:scheme="https" android:host="cloud.appwrite.io" android:pathPrefix="/v1/account/sessions/oauth2/callback/google"/> </intent-filter>
Despite the above configuration, we are encountering a problem:
After selecting the email during the Google Sign-In process, the app shows a black screen. The browser redirects to the callback URL, but it never seems to get properly delivered to the Flutter app. Our logs show that the deep link listener is started, but we never see the expected deep link callback printed out. We’ve spent a lot of time trying to get Google Sign-In working via OAuth with deep linking, but the deep link callback from Appwrite isn’t being delivered as expected—resulting in a persistent black screen after selecting the email account.
We’re open to suggestions, and if anyone has experienced similar issues or has ideas on how to resolve this deep linking problem with Appwrite and Flutter, please share your insights! Thanks for reading, and we hope this discussion helps others who might be facing similar challenges. Can someone help me get the app working?
Recommended threads
- CORS error only on tables db api After u...
I've recently updated my self hosted appwrite instance to the 1.8.0 and updated my frontend with the tables db apis but strangely, even if I'm able to log in, g...
- Multiple Set-Cookie headers collapsed on...
I’m deploying a Next.js 15 app to Appwrite → Deploy → Sites. In app/api/auth/login/route.ts I try to set 3 cookies. Variant A (manual headers): const headers ...
- session cookie not saving
it appears with my app hosted on Cloudflare worker pages, when i try to login it does not save the session cookie. however it saves in on localhost and no probl...