How to get Google Plus developer key / Client ID?


Step 1: Login into your Google account

Step 2: Go to the Google Developers Console. Please see below screenshot:

 

Step 3: Select create a project option under the main menu drop down. Please see below screenshot:

 

Step 4: Type name of your project and click create button. Please see below screenshot for reference:

 

Step 5: In the sidebar on the left, select Google APIs under Overview. On the APIs page in the displayed list of APIs, find the Google+ API and click on Google+ API link. Please see below screenshot:

 

Step 6: On the displayed list of APIs, find the Google+ API and click on ENABLE to set the status ON:

 

Step 7: In the sidebar on the left, select Credentials under the API Manager. Please see below screenshot:

 

Step 8: On click of Credentials menu item, you will be redirected to the credentials page. Please see below screenshot:

 

Step 9: On this page, click Create Credentials button and select API key, Admin will open a pop up box for creating a key for you project. Please see below screenshot:

 

Step 10: Select the appropriate kind of key: Server key, Browser key, Android key or iOS key then click Create. Please see below screenshot:

Note: For a website, we need to select the option Browser key.

 

Step 11: On Create Browser API Key page, you can define name for your Key, default name will be Browser key1. Please see below screenshot:

 

Step 12: On click of Create button, API Key will be generated. User can copy the key by clicking on copy Icon and paste it on the backend of the website in the required field (Google Plus Developer Key).  Please see below screenshot:

 

How to create Client ID and Client Secret Key?

Please see below the steps to create a client ID:

 

Step 1: In the sidebar select Credentials under API Manager. Please see below screenshot:

 

Step 2: On the Credentials page select OAuth client ID from the Add credentials drop down list. Please see below screenshot:

 

Step 3: On click OAuth2.0 client ID link, User will be redirected to the Create client ID page. User has to fill up the following detail to create a client id:

  • Application Type (Web Application in case of website)
  • Application Name
  • Authorized redirect URL

Please note for Authorized redirect URL should be: http://yourdomainname/user/login_googleplus

 

Step 4: After filling up the details click on Create button which will generate Client ID and Secret key. Please see below screenshot:

 

Step 5: Users need to define this client id in the Google Plus Client ID field.

On click of Name under OAuth 2.0 clients IDS, Admin will be redirected to the client id details page. Please see below screenshot:

 

Step 6: On the details page, user also need to define the Authorized redirect URLs(URL of the login page i.e http://yourdomainname/user/login_googleplus). Please see below the screenshot:

 

Users need to add these details in following fields:

Google Plus Client ID:

Google Plus Client Secret:

To create Client id user need to configure consent screen.

 

Step 7: After creating the Client ID, users need to click on consent screen button which will redirect the user to the project details page. On this page you need to fill up the following details about your project:

  • Project Name
  • Home Page URL (Optional)
  • Product logo
  • Privacy Policy URL (Optional)
  • Terms of Service URL (Optional)

 

Last update:
2016-05-06 15:49
Author:
FATbit Chef
Revision:
1.2
Average rating: 4.07 (14 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.