Google (google.com)Description: Google is a technology company which specializes in Internet-related services and products, which include online advertising technologies, search engine, cloud computing, software, and hardware.
|
Protocol
|
OAuth 2
|
Returned Data
|
userId, name, email, photo
|
Requires SSL?
|
No
|
How to Configure Google Login API for Magento
In this article you will learn how to find your Google Login API in order to setup the Google Login functionality. Please follow the step-by step instructions below.
Step-by-Step action:
|
- Login to console.developers.google.com.
- Navigate "Project" section and select "Create Project" from the drop-down.
- Press "Create Project" button.
|
Step-by-Step action:
|
- Enter name of your project in the "Project Name" field.
- Press "Create" button.
|
Step-by-Step action:
|
- Go to the "Library" section > search for "IAM Service Account Credentials API "".
|
Step-by-Step action:
|
- Go to "Credentials" tab.
- Press "Create Credentials" button.
- Select "OAuth client ID" option from the dropdown.
|
Step-by-Step action:
|
- Navigate to "Configure consent screen" in order to indicate your magento social share extension application data.
|
Step-by-Step action:
|
- Select your email address to be used with this application.
- Indicate the name of your product.
- Paste the homepage for your project.
- Click on "Save" button.
|
Step-by-Step action:
|
- Select application type to be "Web application".
- Fill in the name of your application.
- Indicate the name of your live domain.
- Indicate the authorized redirect URI. To find it, go to your backend-> Plumrocket-> Social Login Pro-> Google> Redirect URIs.
- Click on "Create" button to finish creating your application.
|
Step-by-Step action:
|
- Here you can find the "Client ID" of your Google application.
- Here you can find the "Client Secret" of this application.
|
Google Integration in Magento 2 Social Login Pro Extension
In this step you must update your Magento 2 Social Login Pro Extension configuration. In your magento admin panel,go to "Plumrocket" tab in the main menu -> "Social Login Pro" section -> "Configuration" section > "Google" tab.
Step-by-Step action:
|
- Paste Client ID into the relevant field of the "Google" tab in your Magento 2 backend.
- Paste Client Secret key into the relevant field of the "Google" tab in your Magento 2 backend.
- Enter your "Google API Key" which can be found at your Google Developer's account.
- Press "Save Config" button.
|
Enable Magento Google One-Tap Sign Up and Sign In
With Google's one-tap sign-up and automatic sign-in APIs, new users can sign up to your site with just one tap. Returning users are signed in automatically, even when they switch devices or platforms, or after their session expires.
Enabling Google One Tap in Magento backend is very easy once you completed all previous steps. Just follow these directions:
Step-by-Step action:
|
- Select "Yes" from the "Enable One-Tap Sign Up" dropdown list.
- Select one or more pages where the One-Tap Sign Up must be activated.
- Select "Yes" if you want to enable "Automatic Sign-Ins". This feature allows returning users to be automatically signed-in everytime they visit your store.
- Select one of three available titles to be displayed in the Google One Tap popup.
- Lastly, you can optionally change the default Google One Tap position by specifying the new container DOM ID (CSS Class ID). This feature allows displaying Google One Tap inside Magento Sign In Page, Popup Login, or in any other custom location.
- Press the “Save Config” button to save changes.
|
Configuration of Google Magento Social Login and Magento 2 Social Login application is now completed.
Next Step > Return to Social Login Pro API Reference