Olatunji BabajideOriginal post
@everyone
Am trying to use Appwrite OAuth (google, apple and facebook), am been on it for sometimes now which have tried many things but still not able to make it work:
Expectation: able to authenticate users with Appwrite OAuth system.
Behavior:
using Apple provider: it is opening the apple signin page, but after login and all, it get stuck here(image)
using Google peovider: it works for andriod 11 and below, but on andriod 13 and above after redirecting back into the app (Error signing in with 2Google: type 'Null' is not a subtype of type 'bool')
Using : appwrite^15.0.1
dependency_overrides:
flutter_web_auth_2: 4.1.0
Summary
Developers are facing issues with implementing Appwrite OAuth (Google, Apple, Facebook) in Flutter. The Apple provider is getting stuck after login, and the Google provider is throwing an error on Android 13 and above. They're using appwrite^15.0.1 and dependency_overrides for flutter_web_auth_2: 4.1.0.
Solution:
- For the Apple provider issue, check the configuration and ensure the callback URLs are correctly set.
- For the Google provider error, consider updating to the latest version of Flutter and checking for any breaking changes causing the subtype error.