Firebase Auth with email for Flutter
3,942
This should do what you want:
import 'package:firebase_auth/firebase_auth.dart' show FirebaseAuth;
...
final firebaseUser = await FirebaseAuth.instance
.signInWithEmailAndPassword(email: email, password: password);
Author by
Darkhan
Updated on December 04, 2022Comments
-
Darkhan over 1 year
I'm currently struggling to implement email sign up and log in in my app. I can't use google sign-in or other alternative methods for business reasons.
How to implement Firebase Authentication with Email in Flutter? Is there a way to do it with the Firebase Auth plugin?
-
Darkhan about 6 yearsThanks! Now I know the general direction
-
asifa almost 6 yearsWhat about password less login in flutter
-
Günter Zöchbauer almost 6 years@asifa can you please elaborate?
-
asifa almost 6 yearsI mean firebase.google.com/docs/auth/android/email-link-auth . How to implement this in flutter
-
Günter Zöchbauer almost 6 yearsI think it's better to create a new question. I haven't looked into that one myself yet.
-
asifa almost 6 yearsIs it possible to do in flutter. I am currently not allowed to post new questions.
-
Günter Zöchbauer almost 6 yearsSorry, I don't know. I haven't tried or investigated.