-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
appwrite/sdk-generator
#1254Labels
bugSomething isn't workingSomething isn't working
Description
👟 Reproduction steps
- Setup AndroidManifest as described
<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>- Use createOauth2Session
await account.createOAuth2Session(provider: OAuthProvider.google);- Press button to start OAuth 2 Authentication
- Go through Authentication flow
- Popup doesn't close after end but returns to previous screen (Confirm account linkage screen)
- Exit popup manually and app is logged in
👍 Expected behavior
- Press Button
- Go through OAuth Flow
- Popup closes and app is logged in
👎 Actual Behavior
- Press button to start OAuth 2 Authentication
- Go through Authentication flow
- Popup doesn't close after end but returns to previous screen (Confirm account linkage screen)
- Exit popup manually and app is logged in
🎲 Appwrite version
Version 2.0.x
💻 Operating system
Windows
🧱 Your Environment
[√] Flutter (Channel stable, 3.35.2, on Microsoft Windows [Version 10.0.26200.7171], locale
en-IN) [481ms]
• Flutter version 3.35.2 on channel stable at C:\Users\madha\Development\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 05db968908 (3 months ago), 2025-08-25 10:21:35 -0700
• Engine revision a8bfdfc394
• Dart version 3.9.0
• DevTools version 2.48.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop,
enable-windows-desktop, enable-android, enable-ios, cli-animations,
enable-lldb-debugging
[√] Windows Version (11 Home 64-bit, 25H2, 2009) [1,493ms]
[√] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [13.5s]
• Android SDK at C:\Users\madha\AppData\Local\Android\sdk
• Emulator version 36.2.11.0 (build_id 14212360) (CL:N/A)
• Platform android-36.1, build-tools 36.1.0
• Java binary at: C:\Program Files\Java\jdk-21\bin\java
This JDK is specified in your Flutter configuration.
To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
• Java version Java(TM) SE Runtime Environment (build 21.0.7+8-LTS-245)
• All Android licenses accepted.👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working