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

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 4

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

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

Step 5

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 6

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

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

Step 7

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

Tip

Must-have extensions for your Magento stores

  1. One Step Checkout
  2. Layered Navigation
  3. Social Login FREE
  4. Affiliate
  5. Blog FREE
  6. Shop by brand
  7. SEO FREE
  8. Banner Slider FREE