As discussed earlier, in the Simple login application section, we will be using the user's email and password for authentication integrated through Firebase.
The following steps discuss in detail about how to set up the project on Firebase Console:
- We begin by selecting the project on Firebase Console:
- Next, we will click on the Authentication option from the Develop menu:
This will take us to the authentication screen.
- Migrate to the sign-in tab and enable the Email/Password option under Sign-in providers:
This is all that is required to set up Firebase Console.
Next, we will integrate Firebase in the code. This is done as follows:
- Migrate to the project in your Flutter SDK and add firebase-auth to the app level build.gradle file: