How to configure Google API

Google requires that you create an external application linking your website to their API. Application id and secret (also sometimes referred as Consumer key and secret or Client id and secret) are what we call an application credentials. This application will link your website example.com to Google API and these credentials are needed in order for Google users to access your website.

These credentials may also differ in format, name and content depending on the social network.

To enable authentication with this provider and to register a new Google API Application, follow the steps :

Step 2

On the Dashboard sidebar click on the tab Credentials on the left side and click Create Project.

https://i.imgur.com/SVCBJ1Y.png

Then, fill out the project name.

https://i.imgur.com/YD89mB6.png

Step 3

At the Dashboard page, filter from Library > Social. Choose Google + API.

https://i.imgur.com/yoHDRVL.png

Click the Enable button.

https://i.imgur.com/nC7x1x6.png

Step 4

Once the project is created. In the sidebar under API Manager, select Credentials, then select the OAuth consent screen tab. Choose an Email Address, specify a Product Name, and press Save.

https://i.imgur.com/UziMIkY.png

Step 5

In the Credentials tab, select the New credentials drop-down list. Then, choose OAuth client ID.

https://i.imgur.com/IcB2ZgS.png

Step 6

On the Create Client ID field :

  • Select Web application as your application type.
  • Put your website domain in the Authorized JavaScript origins field. This should match with the current hostname example.com.
  • Provide URL as the Callback URL for your application (See in Social Login Configuration).
https://i.imgur.com/t1rvduS.png

Step 7

Once you have registered, the popup below will be displayed:

https://i.imgur.com/suTpo6W.png

Step 8

Copy and insert API into API fields in the extension’s setting under Admin panel. Please check this image.

https://i.imgur.com/bjnFlnf.png

And that’s it!

If for some reason you still can’t manage to create an application for Google, first try to Google it, then check it on Youtube, and if nothing works ask for support.

Expert’s recommendations