
I'm experiencing two issues with the Google authentication flow using Appwrite SDK (v13.0.0) in my Flutter app (SDK v3.5.3). Google Auth screen not closing After successfully authenticating with Google, the authorization screen does not close, leaving the user stuck. Environment: Flutter SDK: ^3.5.3 Appwrite SDK: ^13.0.0 OS: Windows 11 Testing Device: Android 14
Future<void> googleAuth() async { try { await AppwriteService.account.createOAuth2Session( provider: OAuthProvider.google, ); loadUser(); } on AppwriteException catch (e) { handleAppwriteException(e); } catch (e) { print('An unexpected error occurred: $e'); } }
<activity android:exported="true" android:name="com.linusu.flutter_web_auth_2.CallbackActivity"> <intent-filter android:label="flutter_web_auth_2"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="appwrite-callback-[PROJECT-ID]" /> </intent-filter> </activity>
Recommended threads
- Stuck at pinging the server to finish ad...
I'm not using the starter app and I'm not sure how to finish connecting my app to Appwrite.io. Is there a CURL command I can run to finish setup?
- 500 internal error
I get a 500 internal error when trying to access my database on appwrite cloud. Sometimes it would start working but this time it never corrects.
- Error getting session: AppwriteException...
I get this error `Error getting session: AppwriteException: User (role: guests) missing scope (account)` when running in prod. As soon as I try running my app o...
