Google OAuth Client ID

Create Google OAuth Client ID

Before creating an OAuth Client ID, you must have the following:

  • Package ID (Application ID)

  • SHA-1 Certificate Fingerprint

If you already have a Google Cloud project, you can skip directly to Step B: Creating the OAuth Client ID.


A. Create a Google Cloud Project


Step 1: Create a New Project

Sign in to Google Cloud Console (opens in a new tab) and create a new project:

  1. Click Create Project.

  2. Enter a project name.

  3. Click Create.

Example project name: My W2N App


Step 2: Configure OAuth Consent Screen

After creating the project:

  1. Open the left navigation menu.

  2. Navigate to APIs & Services → OAuth Consent Screen


Step 3: Complete the Consent Screen Setup

  1. Fill in the required application details.

  2. Save and continue through the setup process.

  3. Return to the project dashboard after completion.


B. Create the OAuth Client ID

Step 1: Open Credentials

Navigate to APIs & Services → Credentials

Click on + CREATE CREDENTIALS → OAuth Client ID


Step 2: Create Android OAuth Client

  1. Select Android as the application type.

  2. Enter your application's

    • Package Name
  • SHA-1 Certificate Fingerprint
  1. Click Create.

Step 3: Copy the Client ID

After the OAuth client is created:

  1. Copy the generated Client ID.

  2. Save it securely.

  3. Provide this Client ID during the integration process.


Your Android OAuth Client ID has been successfully created.


Create a Web OAuth Client ID

Google Login integration also requires a Web Client ID.

Step 1: Create Another OAuth Client

  1. Click + CREATE CREDENTIALS.

  2. Select OAuth Client ID.

  3. Choose Web Application as the application type.

  4. Create the client.


Step 2: Save the Web Client ID

Copy and store the generated Web Client ID.

⚠️

Both the Android OAuth Client ID and Web OAuth Client ID are required for a complete Google Login integration.


Required Information

Before proceeding with Google Login integration, ensure you have:

  • Package ID

  • SHA-1 Certificate Fingerprint

  • Android OAuth Client ID

  • Web OAuth Client ID


Next Steps

Provide the following details for integration:

  • Android OAuth Client ID

  • Web OAuth Client ID

  • Package ID

  • SHA-1 Certificate Fingerprint


Additional Documentation

For the complete documentation index, Visit (opens in a new tab).

Markdown versions of documentation pages are available by appending .md to the URL.

Example:

https://docs.webtonative.com/social-login-integrations/create-google-oauth-client-id.md

AI Documentation Queries

If additional information is needed, you can query the documentation dynamically:

GET https://docs.webtonative.com/social-login-integrations/create-google-oauth-client-id.md?ask=<question>

Example:

GET https://docs.webtonative.com/social-login-integrations/create-google-oauth-client-id.md?ask=How do I create a Web OAuth Client ID for Google Login?

The response will include:

  • A direct answer

  • Relevant documentation excerpts

  • Source references