Flutter Firebase Authentication Tutorial - Firebase Auth using email and password 2023

preview_player
Показать описание
In this flutter tutorial, we will learn flutter firebase authentication using email and password.
We will use GETX State Management to keep the code clean and use the cleanest way to perform firebase authentication.
We will learn to Create user with email and password, Sign In user with email and password, logout the user, keep the firebase user logged in even app close, keep the separation of concern with a separate Authentication repository controller and Signup, login controller with the backend logic.

LOGIN APP PLAYLISTS
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

DOWNLOAD PROJECT
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

VIDEOS
▬▬▬▬▬▬▬▬▬▬ DESIGN ▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬ FIREBASE ▬▬▬▬▬▬▬▬▬▬

COURSES
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

CHAPTERS
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
00:00 Firebase Auth example and Overview
03:06 Enable Email and password in Firebase Console
04:05 Setup Firebase auth in Flutter
05:27 Add Logic to get user data
08:41 Firebase Authentication Repository Signup, Login and Logout
15:44 Firebase Auth Exceptions
19:40 Test the Code

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
FOLLOW US ON SOCIAL MEDIA!

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
SUPPORT
To support the creation of a free content please visit:

#flutterapp #flutterfirebase #firebaseauth #codingwithTea
Рекомендации по теме
Комментарии
Автор

Great video. Can you also make a tutorial for the Login logic? Your code that I purchased has a lot of things that have not been covered in this tutorial yet and is a bit confusing so will be great if you could explain in a similar fashion as you did for the Sign Up logic. Thanks!

rajvi
Автор

Hello everyone, Most of the people asked for LoginScreen Code as it's already added in the codingwitht.com and link was given in the description. You can also follow this link.

CodingwithT
Автор

I wanted to take a moment to express my appreciation for your great videos. They have been a valuable resource in my studies. However, I do have a small complaint. I have spent a lot of time going through your playlist, and now I am eagerly waiting for the video on login authentication. Unfortunately, my project evaluation is starting next week, and I am running short on time.
I kindly request that you consider creating a video on login authentication before this Saturday or Sunday.

AliHaider-hsff
Автор

Workaround for login page logic is to add these lines of code to login_form_widget.dart that was made in previous tutorial that Tea posted.

1. add controllers into LoginForm widget:

@override
Widget build(BuildContext context) {
final controller = Get.put(SignupController());
[...]
//EMAIL FIELD
TextFormField(
controller: controller.email,
[...]
//PASSWORD FIELD
TextFormField(
controller: controller.password,
[...]


2. Add OnPressed Login Button logic:

onPressed: () {

email: controller.email.text.trim(),
password:
);

How to show users that info they inputted is not correct is another problem I'm facing now.

JerryPresta
Автор

I'm folowing this series from the start. Sir where is the code block for If you already create a video on it, please mention

saadjillani
Автор

Great Series, please make admin panel as well

pixel__lord
Автор

sir pls help in this why splash screen is not showing i am getting this error

DhairyaSharma-mg
Автор

Hi sir, first of all thank you very much for this videos, i have question i have test in on real device but there is problem in signup form screen when i pressed on the field the keyboard just show and disappear in less than one second .. can i know why ?

xturki
Автор

Wa alaykoum essalam.
geat video thanks a lot.
please make video about Sqlite.

usertuserb
Автор

Hello Sir, when I click on a text input field in my app's signup form, the keyboard keeps disappearing repeatedly.

Jnims
Автор

great video. it signup the user successfully but where is the functionality of login screen? how can we send email verification mail

sarkheelmughal
Автор

Bro. I have ListTile icon in the Drawer header. I want to perform logout by clicking on ListTile Logout icon. How to do this. I tried but not logout.

CreativeMindOfficials
Автор

followed your last video step by step. I did the same for this video. however when initialized the app at 5:00 I did not have a src folder in my lib. what am I doing

evanscott
Автор

Hi, Sir. The code of userChanges() in video 12:41, it shows "The method 'userChanges' isn't defined for the type 'FirebaseAuth'." for my project. I have upgrade my firebase_auth version but it still the same. May I know any solution for this? and really appreciate for your videos, they help me a lot in my studies.

ybing
Автор

where do you create the getxcontroller class and the get method for get.find etc.. Sory if I have missed some points hehe

LNGKA
Автор

I have a question. Can Getx be used for a larger application?

bobdaawid
Автор

hello how can I create a Flutter app with a login interface that allows the user to choose between admin or client login

abdelbaki
Автор

Hi Sir, thank you so much for your videos. But I am facing the error E/flutter (12573): Unhandled Exception: Instance of have changed the Material App to GetMaterialApp but app is not switching from signup screen to dashboard screen and the problem is same.I will be very thankful for your help.E/flutter (12573): #0
.This is also alongwith problem.

rinkuedutech
Автор

great video bro. bro how can we upload image with userAuthontication

pawankumarbairwa
Автор

how do i handle this error 'Unhandled Exception: Instance of

mawandenxumalo