Documentation is being updated for the upcoming Gridbox 3 release. Some sections may be incomplete.

How to get Google Client ID and Client Secret?




How to get Google Client ID and Client Secret? Add Google sign-in to your site and save time for your customers. Google sign-in allows your site visitors to log in through Google in one click. Before you can integrate Google sign-in into your website, you need to create a Google client ID and Client Secret. 


In this tutorial, we’ll show you how to get Google Client ID and Client Secret in 10 simple and easy-to-follow steps.

  • To generate Google Client ID and Client Secret, you must be signed in to a Google account​

How to get Google Client ID and Client Secret?


1. Go to the Google Developers Console.

2. Click Select a project ➝ New Project.

Google Client ID. Select a Project - How to get Google Client ID and Client Secret



3. Enter your Project name ➝ click the Create button.

Google Client ID. Create Project - How to get Google Client ID and Client Secret



4. Go to your created project.

Google Client ID. Go to Project - How to get Google Client ID and Client Secret



5. Click the APIs & Services in the left side menu ➝ OAuth consent screen.

Google Client ID. OAuth Consent Screen - How to get Google Client ID and Client Secret



6. Click the Get started button.

Google Client ID. Get Started - How to get Google Client ID and Client Secret



7. Add App name ➝ User support email ➝ click the Next button.

Google Client ID. App Information - How to get Google Client ID and Client Secret



8. In Audience, enable External ➝ Next.

Google Client ID. External Audience - How to get Google Client ID and Client Secret



9. Enter Email addresses ➝ click the Next button.

Google Client ID. Contact Information - How to get Google Client ID and Client Secret



10. Enable checkbox ➝ Continue ➝ click the Create button. 

Google Client ID. Project Configuration - How to get Google Client ID and Client Secret



11. Click the Create OAuth client button. 

Google Client ID. Create OAuth Client - How to get Google Client ID and Client Secret



12. Open the dropdown Application type ➝ select Web application ➝ enter your site URL in Authorized JavaScript origins ➝ in Authorized redirect URIs, enter the page URL where you want your users redirected back after they have authenticated with Google ➝ click the Create button.

Create OAuth Client ID - How to get Google Client ID and Client Secret



13. Copy Google Client ID.

Copy Google Client ID - How to get Google Client ID and Client Secret



14. Click the Edit icon to copy the Google Client Secret.

Google Client ID and Client Secret - How to get Google Client ID and Client Secret




Gridbox configuration


  1. In the Gridbox dashboard, mouse over the icon Extensions ➝ click Integrations.
  2. Click on the Google Login ➝ paste your OAuth Client.
  3. Click the button Save.
  4. Click the Publish Item icon.

Related articles