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
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Apple OAuth2 settings auto-disable every...
Hello, I'm on Appwrite 1.8.1 at the moment. I'm using on prod Apple Oauth and it keeps disabling itself every night. I don't know where to look for the solutio...
- Issue Related to Presence
```PresenceService: upsert error – AppwriteException: user_unauthorized, The current user is not authorized to perform the requested action. (401) ...