after OAuth the browser popup doesnt close but the user is logged in, what could be the issue?
login session is created using:
await account.createOAuth2Session(provider: OAuthProvider.google);
AndroidManifest is configured properly:
<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>
Project ID is in this form as it gets injected during a CI/CD Workflow, and it is added to manifestPlaceholders by the Gradle Build:
val projectId: String = System.getenv("APPWRITE_PROJECT_ID")
manifestPlaceholders += mapOf( "PROJECT_ID" to projectId )
Recommended threads
- Which npm pkg to use in functions, 'appw...
I've been successful in creating users in a function with the node-appwrite package, but I'm trying to interact with databases. But there is no "TablesDB" class...
- What’s the best way for implementing OAu...
I’m building an app for chess players and would like to allow users to use their chess.com accounts to log in. Unfortunately, it’s not one of the apps listed in...
- Cannot create API key in Cloud
Console UI is blocking to create API Key for my project with "Expiration date" valeu "Never". It says: "This field is required" If i select an other option, it ...