
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
- Golang docs outdated
Golang docs on the website are update and some if not all methods are broken/ not updated
- Problem with login using Retool
I am using the Appwrite rest api to create an email session from Retool. My next api call is to create JWT. The call is failing because Retool is a closed envir...
- Adding Attributes to User
What is the best way to add attributes for a User? Do I need to create another entity with the attributes since I cant add them in the Auth service. Thx
