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 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 :

  1. First go to:
  2. On the Dashboard sidebar click on Project then click Create Project.
  3. Once the project is created. Select that project, then APIs & auth > Consent screen and fill the required information.
  4. Then APIs & auth > APIs and enable Google+ API. If you want to import the user contacts enable Contacts API as well.
  5. After that you will need to create an new application: APIs & auth > Credentials and then click Create new Client ID.
  6. On the Create Client ID popup :
    • Select Web application as your application type.
    • Put your website domain in the Authorized JavaScript origins field. This should match with the current hostname
    • Provide URL as the Callback URL for your application (See in Social Login Configuration).
  7. Once you have registered past the created application credentials (Client ID and Secret) into the boxes above.
  8. Copy and insert API into API fields in Magento Admin > Social Login > Settings > Google

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.