Skip to main content

Easy Steps to Configure Google Login (Web and App)

Written by Yair
Updated over 2 weeks ago

Overview

Google Login (also known as Sign in with Google) allows users to access your website or mobile application using their existing Google account instead of creating new login credentials.

This authentication method uses Google’s secure identity system to verify users and grant access to the application. When users select Sign in with Google, they are redirected to Google to confirm their account and authorize access. Once approved, they are automatically logged into the platform.

Using Google Login can help:

-Simplify the sign-in process for users

-Reduce password management issues

-Improve login security

-Increase registration and login conversion rates

Requirements:

Create Firebase project

Note: If you already have an existing Firebase project, you can skip this step and use your current project.

  1. Go to the Firebase Console and sign in with your Google account.

  2. Click Create a project.

    Annotation on 2026-02-26 at 20-52-10.png
  3. Enter a Project name and follow the setup steps provided by Firebase.

    firebase2.png
  4. Once the setup is completed, the project will be created and ready to configure your applications.

Only one Firebase project is required to manage authentication for all your apps.


Google login for Website

  1. In this step, you need to register your website and mobile applications inside your Firebase project. This allows Firebase to identify each platform that will use Google Login.

    You must add the identifiers for each platform:

    • Website → Use your website domain.

    • Android App → Use the Package Name of the application.

    • iOS App → Use the Bundle ID of the application.

    These identifiers ensure that Google authentication works correctly for each platform connected to your Firebase project.

Annotation on 2026-02-26 at 21-03-18.png


2. Select the Product to Configure

Once the platforms have been registered, the products associated with your project will appear in this section.

Select the product where you want to enable Google Login.

We recommend configuring the platforms in the following order:

  1. Website

  2. Mobile applications (Android and iOS)

Start by selecting the website, complete the configuration, and then proceed with the mobile applications.


3. Save the Website Configuration Values

During the website registration, Firebase will generate configuration values required to complete the Google Login setup.

Make sure to copy and save the following values:

  • apiKey

  • authDomain

4. Access the Authentication Settings

To enable Google Login, you must first access the authentication configuration in Firebase.

  1. In the Firebase Console, locate the left-side menu.

  2. Go to the Security section.

  3. Click Authentication.

  4. Once inside the Authentication page, click Get started to begin configuring the authentication methods for your project.

This section allows you to manage and enable different sign-in providers, including Google Login.

5. Enable Google as a Sign-in Method

To allow users to sign in using their Google account, you need to enable Google as an authentication provider.

  1. In the Authentication section, open the Sign-in method tab.

  2. Locate Google in the list of available providers.

  3. Click Google and enable the option.

  4. Select the Project support email from the dropdown menu.

  5. Click Save to apply the changes.

Once enabled, Google will be available as a login option for your application.

6. Copy the Web Client ID

After enabling Google as a sign-in provider, you will need to copy the Web Client ID generated by Firebase.

  1. Go back to the Google provider configuration.

  2. Click Edit.

  3. Locate the Web Client ID.

  4. Copy and save this value in a secure place.

You will need this Web Client ID in the next steps to complete the Google Login configuration.


​7. Add Your Website Domain to Authorized Domains

To allow Google authentication to work correctly on your website, you must add your domain to the list of authorized domains in Firebase.

  1. In the Authentication section, open the Settings tab.

  2. Locate the Authorized domains section.

  3. Click Add domain.

  4. Enter your website domain (for example: yourdomain.com).

  5. Save the changes.

Adding your domain ensures that Google Login can be used securely from your website.



​8. Add the Google Login Credentials in Your Dashboard

Now you need to add the credentials obtained from Firebase to your dashboard.

  1. Log in to your Dashboard.

  2. Go to the Google Login configuration section.

  3. Fill in the following fields:

    • Google Login ID → Paste the Web Client ID obtained in Step 6.

    • apiKey → Paste the value obtained in Step 3.

    • authDomain → Paste the value obtained in Step 3.

Make sure all values are copied correctly to ensure the integration works properly.

9. Enable Google Login

After adding the credentials, you must enable the Google Login option.

  1. Locate the Enable Google Login setting.

  2. Set the option to Yes.

If this option is not enabled, the Sign in with Google button will not appear in your website or mobile applications.

10. Save the Configuration

Scroll to the bottom of the page and click Save to apply the changes.

Saving the configuration will activate the integration for your website and mobile apps.

11. Test the Google Login

Once the configuration is completed, verify that the login works correctly.

  1. Open your website.

  2. Locate the Sign in with Google option.

  3. Complete a login test using a Google account.

Attachment

If the configuration was completed successfully, users will be able to log in using their Google account.


  1. Google Login For App (Building)

  1. 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.


    Annotation on 2025-12-16 at 14-15-15.png


  2. In your Firebase project, go to the configuration of your Android Customer App, and in the section below, paste your “SHA-1 certificate fingerprint.”

Did this answer your question?