Requirements:
Create a Firebase project (for Android configuration, free) → https://firebase.google.com/
Create Firebase project
NOTE: If you already have a Firebase project, you can skip this part.
Log in to your Firebase account and create a new project (only one project is needed for all your apps).
Image link: https://d.pr/i/P8zoNj
Image Link: https://d.pr/i/JPbo8X
Google login for Website
Register your website and your mobile apps (Android and iOS) using your website name and their respective app identifiers (package name for Android and bundle ID for iOS).
After registering them, the products added in this section will be displayed. Please select the product where you would like to enable Google Login (starting with the website first, and then proceeding with the app).
During the website registration, you can copy your “apiKey” and “authDomain,” or retrieve them later from your website’s configuration section. Please make sure to save both values, as you will need them in the next steps.
From the side menu, select “Authentication,” then click “Get started.
In the “Sign-in method” section, select “Google” and enable it. Then choose your “Support email for the project” and click “Save.”
Click on Edit and copy the “Web Client ID.” Please save it somewhere, as it will be needed lat.
Go to the “Settings” tab and select “Authorized domains.” Then add your website domain.
Go to your dashboard and filling the following fields:
Google Login ID (Web Client ID from Step 5), add your apiKey and authDomain (from step 7)
7. Done!, Test your login in your website.
Google Login For App (Building)
In your Google Play Console account, select your Customer App and navigate to Test and release >> App integrity >> Play App Signing >> Settings. From there, copy your SHA-1 certificate fingerprint and save it for later use.
In your Firebase project, go to the configuration of your Android Customer App, and in the section below, paste your “SHA-1 certificate fingerprint.”
















