Good day I have set up google oauth2 but for some reason it sticks on account.google.com
my createoath2 function
singInWithProvider({required String provider}) async {
try {
await account.createOAuth2Session(
provider: provider,
);
await Future.delayed(const Duration(microseconds: 500));
await loadUser();
return null;
} catch (e) {
debugPrint("$e");
} finally {
notifyListeners();
}
}
I also added the clientId and app secret in appwrite and this is my android manifest
<activity
android:name="com.linusu.flutter_web_auth_2.CallbackActivity"
android:exported="true">
<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-[I put my project id here]" />
</intent-filter>
</activity>
for my first login it asked me for my user account but it never created a user or a session. and it has not worked after. it hangs accounts.google.com
Recommended threads
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support π I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...
- context deadline exceeded
Hi, in one of my projects i continuously receive context deadline exceeded when trying to reach users API from my local machine: https://fra.cloud.appwrite.io/v...
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...