Login with Google (oAuth) - Finding Client ID & Secret in Google Cloud Console (2026)

Published: (January 12, 2026 at 10:55 PM EST)
2 min read
Source: Dev.to

Source: Dev.to

Overview

Finding your OAuth Client ID and Secret in the Google Cloud Console can feel like searching for a needle in a haystack. As of 2026, there are three primary ways to locate these credentials quickly.

  • The search bar at the top of the console is optimized for users who have lost their credentials.
  • Keywords to try: Credentials, OAuth, or Clients.
  • Result: The first result under Products & Pages will usually be APIs & Services > Credentials or the newer Google Auth Platform > Clients. Clicking it takes you directly to the list of all client IDs.

2. Navigate via the Sidebar

Google has consolidated identity tools, offering two clear navigation paths:

PathSteps
Primary PathNavigation Menu (☰) → APIs & ServicesCredentials
Newer Consolidated PathNavigation Menu (☰) → Google Auth PlatformClients

These paths keep OAuth‑specific tasks separate from backend API keys.

2.1. Download the JSON File

If you see a client ID in the list but can’t locate the secret:

  1. Look for the Download JSON icon (a small tray with an arrow) on the far right of the row.
  2. Open the downloaded file in any text editor. It contains entries such as:
{
  "client_id": "your-id-here",
  "client_secret": "your-secret-here"
}

2.2. Reveal the Secret Inline

On the credential details page, a small eye icon appears next to the masked secret field (••••••••). Clicking the eye reveals the secret without needing to download a file.

3. Understand “Secret‑less” Clients

  • For Android, iOS, or Chrome client IDs, Google does not issue a client secret.
  • These platforms are considered public clients, where a secret cannot be safely stored in the code.

By using the search bar, the sidebar navigation, or the JSON download/eye‑icon methods, you can quickly locate your OAuth Client ID and Secret in the Google Cloud Console.

Back to Blog

Related posts

Read more »

Wallets Are the New Auth Layer

Introduction If you have implemented authentication in Web2, Web3 wallets should not feel strange. Authentication has always been about one thing: Can this use...