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 :
On the Dashboard sidebar click on the tab Credentials on the left side and click Create Project.
Then, fill out the project name.
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.
In the Credentials tab, select the New credentials drop-down list. Then, choose OAuth client ID.
On the Create Client ID field :
- Select Web application as your application type.
- Provide URL as the Callback URL for your application (See in Social Login Configuration).
Once you have registered, the popup below will be displayed:
Copy and insert API into API fields in the extension’s setting under Admin panel. Please check this image.
And that’s it!