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:
-
Click Create Project.
-
Enter a project name.
-
Click Create.
Example project name: My W2N App
Step 2: Configure OAuth Consent Screen
After creating the project:
-
Open the left navigation menu.
-
Navigate to APIs & Services → OAuth Consent Screen
Step 3: Complete the Consent Screen Setup
-
Fill in the required application details.
-
Save and continue through the setup process.
-
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
-
Select Android as the application type.
-
Enter your application's
- Package Name
- SHA-1 Certificate Fingerprint
- Click Create.
Step 3: Copy the Client ID
After the OAuth client is created:
-
Copy the generated Client ID.
-
Save it securely.
-
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
-
Click + CREATE CREDENTIALS.
-
Select OAuth Client ID.
-
Choose Web Application as the application type.
-
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.mdAI 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

