Reputation: 619
I use Firebase Emulator to test Firestore, Cloud Functions, and Auth. I've been using Sign In with Email and Password. Now, I want to implement Google Auth. How can I test Google Auth using Firebase Emulator in Flutter?
Upvotes: 1
Views: 751
Reputation: 597
use FirebaseAuth.instance.signInWithCredential(credential)
should work even in firebase emulator
credential
should taken from GoogleAuthProvider.credential()
Upvotes: 3