In this recipe, you will extend the previous sign-in form to add social sign-in through the Google Sign-in service, starting from the tasks required to enable Google Sign-in in your Firebase project. Perform the following steps:
- From the Firebase console, in the Authentication page on your project, get to the Sign In method page and then enable the Google Sign-in feature, as shown in the following screenshot:
- Notice that there is a message, telling you that you need to add the SHA1 fingerprint for each app on your Project Settings. Click on the SHA-1 link (or go to the page https://developers.google.com/android/guides/client-auth?authuser=0). The procedure to obtain an SHA-1 fingerprint varies based on your system. Follow the instructions on the page to obtain an SHA-1 key.
- Once you have the SHA-1 key, get back to the Project Overview page, enter the apps settings page, and then click the Add fingerprint button, as shown in the following screenshot: ...