1. Home
  2. Docs
  3. General
  4. FAQ
  5. How can I create Client ID, Client Secret and Developer Key for “Login with Google”?

How can I create Client ID, Client Secret and Developer Key for “Login with Google”?

Following are the steps which help you to create your Client ID, Client Secret and Developer API Key.

1. Go to the Google Console page, https://console.developers.google.com/project and create a new project.

google api

2. Now in the popup enter your project name can click the “Create” button.

new project

3. It will create a new project and redirect you to the API Library page.

4. Now go to the Credentials > OAuth Consent Screen and enter the product name and other details.

OAuth consent screen

5. Now go to the Credentials >credentials page and click on the “Create Credentials” button and select “OAuth Client ID”.

OAuth Client ID

6. Here select the web application and enter your site url in Authorized JavaScript origins and the redirect URI in the Authorized redirect URIs section and click the “Create” button.

In the Authorized redirect URIs section, please use your script installation path/index.php?page=layout/googlelogin

and script installation path/layout/googlelogin as shown in the image.

client id

7. Now you will get the  “Client ID” and “Client Secret”.

OAuth keys

 8. To get the “API Key” (Developer Key), go to “Create Credentials > API Key”.
api key
9. The google api key is ready now.
api key generated
Was this article helpful to you? Yes 3 No 1