December 24, 2019 (Updated to the latest version of the Google Developers Console) (How To Get “Client ID” and “Client Secret” from the “Google App”)

This blog post was originally written in December 2017. Since then, Google has changed its Developers Console user interfaces. We update this blog post and include steps based on the last steps of the Google Developers Console.

If you ever need to integrate Facebook APIs into your web application, you can hire programmers or hire PHP developers at an affordable price.

To work with the Google APIs, you will need the Google API Console project and the client ID. Which you can use to call different Google APIs. I wanted to integrate Google Sign-In on my website. The following blog post explains how to create the Google API Console project, client ID, and client secret.

Although I used it for the Google+ API, the same project can also be used for other API access. You will only need to enable additional APIs (step 7 below).

  1. Log in to the Google Developer Console at with your Google account credentials.
  2. If you are not registered with the Google developer account, you must accept the agreement.
  3. After accepting the agreement or if you are already registered in the Google developer account, you will see a screen as shown below. Click “Select a project” on the top header bar.
  4. From the project selection pop-up window, click the “NEW PROJECT” button to add a new project.
  5. Enter your “Project Name” and click the “Create” button.
  6. Click on “OAuth consent screen”From the left side menu and create OAuth consent with User Type selection.
  7. Add App name, Please select Support email and add Authorized domain. Then click on the Save button.
  8. After creating the project, click “Credentials”In the menu on the left side to open the Credentials screen.
  9. Click on “Create credentialsAnd from the drop-down list select OAuth client ID.

  10. On the OAuth client ID creation screen:
    • Select the “Web Application” radio button from the “Application Type”.
    • Enter the name of your application in the “Name” field. This name will be displayed to end users when they are asked to give permission to login to your website. Therefore, please specify a meaningful name that can identify your website.
    • Enter the URL of your catalog site under “Authorized JavaScript Sources”. For example, if the website domain is, enter
    • In the “Authorized Redirect URI” input box, enter your website URL + the page / endpoint you want your user to be redirected to. If you are using the Microsoft.Owin.Security.Google library, the endpoint is “/ signin-google”. For example, my website URL is, so I enter
    • Click the “Create” button.

  11. It will show the pop-up window with the client identification and client secret. ( Google client id )

Leave a Reply