Email and Password Authentication In Flutter & Firebase in Flutter 2.2

Overview

email_password_flutter_firebase

Email and Password Authentication In Flutter & Firebase in Flutter 2.2

Overview

This email and password authentication is implemented with many functionalities like, fluttertoast library, cloud firestore. In this tutorial, we have also implemented the Form validation for your email and password fields. So, if you want to see complete voice over of this tutorial you can watch my youtube video.

Watch it on YouTube

App UI

Happy Learning 👍


Subscribe Now! BackSlash Flutter YouTube Channel Show some ❤️ and star the repo to support the project

GitHub stars GitHub forks GitHub watchers GitHub followers Reddit Follow

Stay Healthy!Stay Safe! 🖖

Note

I do not own any of the images used in this project.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

You might also like...

A package that lets you include a cool, nice looking and validated Password TextFormField in your app to enhance user experience. The package is fully & easily modifiable.

A package that lets you include a cool, nice looking and validated Password TextFormField in your app to enhance user experience. The package is fully & easily modifiable.

A package that lets you include a cool, nice looking and validated Password TextFormField in your app to enhance user experience. The package is fully

Jan 1, 2023

Open source password generator app for Android and iOS

Open source password generator app for Android and iOS

Parole is an open-source, free, and cross-platform service that is intended to make people secure on the internet ecosystem. Parole excels to build up

Oct 19, 2021

AuthPass - Password Manager based on Flutter for all platforms. Keepass 2.x (kdbx 3.x) compatible.

AuthPass - Password Manager based on Flutter for all platforms. Keepass 2.x (kdbx 3.x) compatible.

AuthPass.app - Open Source Password Manager for mobile and desktop AuthPass - Password Manager based on Flutter for all platforms. Keepass 2.x (kdbx 3

Jan 5, 2023

A simple, cross-platform password manager created with Flutter.

A simple, cross-platform password manager created with Flutter.

PassMan PassMan Logo © 2021 by Yash Ahir is licensed under CC BY-NC 4.0 A simple, cross-platform password manager created with Flutter. How to run thi

Dec 14, 2022

An opensource password manager

Passman An open source password manager Contents Description Project structure Project roadmap Getting started Built with Contributing Authors License

Aug 18, 2022

A beautiful, cross-platform, encrypted password manager 🔐

A beautiful, cross-platform, encrypted password manager 🔐

Passwd. A beautiful, encrypted password manager, built using Flutter and Dart. Note: This project is unmaintained for now Features Fully encrypted usi

Dec 22, 2022

OOTP (Open One-time Password) is a supports multiple programming languages.

OOTP (Open One-time Password) is a supports multiple programming languages. The generated one-time passwords are fully compliant with HOTP (HMAC-based One-time Password) and TOTP (Time-based One-time Password).

Nov 20, 2022

Kee Vault 2 - a password manager for multiple devices.

Kee Vault 2 is a password manager for multiple devices. Password databases (Vaults) are encrypted using the KeePass storage format (KDBX) before being stored on the local device or sent to a remote server for synchronisation purposes.

Jan 6, 2023

a sample flutter app using Injection, routing and simple authentication follows clean code and best practices

a sample flutter app using Injection, routing and simple authentication follows clean code and best practices

Flutter Clean Project A sample flutter app using Injection, routing and simple authentication follows clean code and best practices Features Cleaned f

Jan 2, 2023
Comments
  • register page has not worked

    register page has not worked

    I have do same as you but in it I fill everything in my text form filed and when I have submitted it so it not post the value to firebase and not save it that is my post method

    void signUp(String email, String password) async { if (_formKey.currentState!.validate()) { try { await _auth .createUserWithEmailAndPassword(email: email, password: password) .then((value) => {postDetailsToFirestore()}) .catchError((e) { Fluttertoast.showToast(msg: e!.message); }); } on FirebaseAuthException catch (error) { switch (error.code) { case "invalid-email": errorMessage = "Your email address appears to be malformed."; break; case "wrong-password": errorMessage = "Your password is wrong."; break; case "user-not-found": errorMessage = "User with this email doesn't exist."; break; case "user-disabled": errorMessage = "User with this email has been disabled."; break; case "too-many-requests": errorMessage = "Too many requests"; break; case "operation-not-allowed": errorMessage = "Signing in with Email and Password is not enabled."; break; default: errorMessage = "An undefined Error happened."; } Fluttertoast.showToast(msg: errorMessage!); print(error.code); } } }

    postDetailsToFirestore() async { FirebaseFirestore firebaseFirestore = FirebaseFirestore.instance; User? user = _auth.currentUser; UserModel userModel = UserModel(); userModel.email = user!.email; userModel.uid = user.uid; userModel.name = nameEditingController.text; // userModel.no = mobileEditingController.text; await firebaseFirestore .collection("users") .doc(user.uid) .set(userModel.toMap()); Fluttertoast.showToast(msg: "Account created suscessfully"); Navigator.pushAndRemoveUntil((context), MaterialPageRoute(builder: (context) => nav()), (route) => false); } }

    opened by div5268singh 0
Owner
BackSlash Flutter
Flutter. Python. Loves Travelling
BackSlash Flutter
One Password to Rule - A Flutter Deterministic password manager.

OPTR - One Password to Rule Flutter #Hack20 - Cyberpunk Concepta Team: Leo Farias and Ianko Leite Pitch Are you ready for password freedom? Create eas

Leo Farias 43 Nov 16, 2022
Resturant FlutterApp withApi - A flutter app of a such restaurant with API and Firebase Authentication

Resturant_FlutterApp_withApi This is flutter app of a such restaurant with API a

null 32 Oct 5, 2022
Implementation and architecture for Firebase Authentication

fluttercompoundapp A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you s

Emmanuel Ahuno 0 Nov 27, 2021
A Flutter package to simplify firebase authentication.

firebase_authentication A Flutter package to simplify firebase authentication. Development State This is in a very, very early stage. It's a draft bas

Daniele Cambi 32 Apr 24, 2022
Implementing Firebase Authentication with Riverpod following Flutter Domain Driven Development pattern

firebase_auth_flutter_ddd Firebase authentication example with Hooks Riverpod and Freezed following Flutter DDD architecture Getting Started This proj

Python Hub 42 Jan 8, 2023
Use Firebase authentication with Flutter

user_login A skeleton futter project that use Firebase for user authentication. This project has be tested to run well on iOS, Android and WEB. I have

Dongjin Zou 0 Dec 26, 2021
A starter helper for flutter developers wanting to use firebase phone authentication in their app.

riverpod_firebase_phone_auth A new Flutter project template showing how to handle mobile authentication using Firebase and Riverpod. Packages Used Fre

Douglas Bett 8 Oct 31, 2022
Flutter Firebase CRUD Authentication.

flutterfire_samples A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you star

null 0 Nov 30, 2021
Firebase authentication 2021

firebase_authentication A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you

nsthienvku 1 Oct 27, 2021
Password Manager Created Using Flutter And SQLite

Password Manager Created Using Flutter And SQLite

Imira Randeniya 15 Dec 24, 2022