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
- listRows result parsing issue
I'm using Appwrite Dart SDK "24.2.0". When I perform a listRows call in dart, I have this reponse in JSON: in " Future<models.RowList> listRows()" { "total" :...
- Broken Flutter SDK >=24.1.0
Row.fromMap now does: ``` data: Map<String, dynamic>.from(map["data"] ?? {}) ``` But Appwrite Cloud TablesDB row responses return custom row columns flattene...
- Flutter OAuth2 does not attach Google se...
Hi Appwrite team, I’m using Appwrite Auth in a Flutter mobile app and trying to upgrade an anonymous user to Google OAuth. Docs say that if there is already a...