Firebase Authentication Setup

Set up Authentication

In order to use Email/Password & Google Sign-In with Firebase Authentication, you have to enable it by going to the Authentication page from the left menu of the Firebase dashboard and selecting the Sign-in method tab.

  • Here, enable Email/Password (under Provider) and click on Save.

  • Next, enable Google (under Provider), enter the project name and support email, and click on Save.

circle-info

Make sure you also add the support email in Firebase project settings -> General.

There is no extra configuration required to use Google Sign-In on an Android device. But to use it on an iOS device, you have to do just one more thing.

Go to your project directory -> ios -> Runner -> Info.plist file, and add the following there:

circle-info

Don’t forget to replace the value as per the above comment with the REVERSED_CLIENT_ID present in the GoogleService-Info.plist file

Last updated