4

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?

1 Answer 1

7

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);
Sign up to request clarification or add additional context in comments.

7 Comments

Thanks! Now I know the general direction
What about password less login in flutter
@asifa can you please elaborate?
I mean firebase.google.com/docs/auth/android/email-link-auth . How to implement this in flutter
I think it's better to create a new question. I haven't looked into that one myself yet.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.