Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to connect the social app to your Magento 2 store, you have to set up the app as follows:

 

Google+

  • Enable: allow showing or hiding Google+ login button To enable Google login and sharing option
  • Client ID: Google+ application ID 
  • Client Secret: Google+ application secret 
  • Redirect URI: Copy this part and fill in 

 


How to set Client ID and Client Secret of Google+ 
Go to the Google Developers Console – https://console.developers.google.com/

Select an existing project, or create a new project by clicking Create Project:

 
  • In the Project name field, type in a name for your new project.
  • In the Project ID field, the console has created project ID. 
  • Click on the Create button and the project to be created within some seconds. 
 

In the left sidebar, select APIs under the APIs & auth section. 

Find the Google+ API service and set its status to Enable.
In the sidebar, select Credentials under the APIs & auth section.
In the OAuth section of the page, select Create New Client ID. 
  • Create Client ID dialog box would be appearing for choosing application type.
  • In the Application type section of the dialog, select Web application and click on the Configure consent screen button.
  • Choose Email address, enter Product name and save the form.
  • In the Authorized JavaScript origins field, enter your app origin. If you want to allow your app to run on different protocols, domains, or subdomains, then you can enter multiple origins.
  • In the Authorized redirect URI field, enter the redirect URL.
  • Click on Create Client ID.
 

Now you can see the Client ID for web application section. Select Client ID  and Client Secret then fill in Configuration of Google in Backend of Magento 2 stores. 

 

...