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
- Auth not working on expo react native
I'm trying to launch a development server with expo go and appwrite as a backend. On my windows pc, I've got a local docker instance of appwrite running as my b...
- createMembership is not sending email wi...
Parameters should be correct. Account and Membership are successfully created. I have a next.js project with localhost origin allowed. I checked spam etc. i...
- Bulk delete failed with 401
- I created a transaction to bulk delete rows in a table has `done` equal `true` follow documentation. But when run, it returns 401 unauthorized error as screen...