Skip to content
Logo
  • Support
  • My account
  • My cart
  • Magento 2 Extensions
  • Magento 1 Extensions
  • Magento Services
  • Packages
  • Special Offers
  • Blog
  • Contact Us

Home Magento 2 Extensions Magento 2 Social Login Pro Documentation Integrations Google Login Configuration

    • Installation
    • Updating
    • Configuration
      • Facebook Login Magento Configuration
      • Twitter Login Magento Configuration
      • Google Login Magento Configuration
      • Google One Tap Sign In Magento Configuration
      • LinkedIn Login Magento Configuration
      • Yahoo! Login Magento Configuration
      • Live, Hotmail, MSN Login Magento Configuration
      • Amazon Login Magento Configuration
      • Aol Login Magento Configuration
      • GitHub Login Magento Configuration
      • Instagram Login Magento Configuration
      • Foursquare Login Magento Configuration
      • Dropbox Login Magento Configuration
      • Disqus Login Magento Configuration
      • Livejournal Login Magento Configuration
      • Tumblr Login Magento Configuration
      • Flickr Login Magento Configuration
      • WordPress Login Magento Configuration
      • PayPal Login Magento Configuration
      • Salesforce Login Magento Configuration
      • Evernote Login Magento Configuration
      • Stackoverflow Login Magento Configuration
      • Mixi Login Magento Configuration
      • QQ Login Magento Configuration
      • Sina Weibo Magento Configuration
      • Kaixin001 Login Magento Configuration
      • Renren Login Magento Configuration
      • Alipay Login Magento Configuration
      • WeChat Login Magento Configuration
      • Mydigipass Login Magento Configuration
      • SoundCloud Login Magento Configuration
      • Verisign Login Magento Configuration
      • XING Login Magento Configuration
      • PersonaBrowserID Login Magento Configuration
      • Bitbucket Login Magento Configuration
      • Skyrock Login Magento Configuration
      • Bitly Login Magento Configuration
      • Box.com Login Magento Configuration
      • Vimeo Login Magento Configuration
      • Reddit Login Magento Configuration
      • Upwork Login Magento Configuration
      • TeamViewer Login Magento Configuration
      • Etsy Login Magento Configuration
      • Imgur Login Magento Configuration
      • Intuit Login Magento Configuration
      • MailChimp Login Magento Configuration
      • Dribbble Login Magento Configuration
      • Goodreads Login Magento Configuration
      • Last.fm Login Magento Configuration
      • Naver Login Magento Configuration
      • Line Login Magento Configuration
      • Apple Login Magento Configuration
      • Steam Login Magento Configuration
      • Yahoo! Japan Login Magento Configuration
      • Telegram Login Magento Configuration
      • TikTok Login Magento Configuration
      • Spotify Login Magento Configuration
      Integrations
    • How-To Guides
    • Troubleshooting
    • Developer Guide & API Reference
    • Translation
    • Uninstalling
    Magento 2 Social Login Pro - Documentation

How to Add Magento Google Login to Your Website

Google

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 Set Up Google Login API for Magento

In this article, you will learn how to find your Google Login API and integrate Google Login into Magento Social Login Pro plugin. Please follow the step-by-step instructions below.

1. Create New Project

Step-by-step guide:

  1. Log in to cloud.google.com/console/project and press the Create project button.
magento 2 social login pro extension google configuration 1

Step-by-step guide:

  1. Enter a descriptive name for your project in the Project Name field.
  2. Optionally, you can change the Project ID by clicking Edit. You cannot change it after the project is created.
  3. Click Organization and select your organization.
  4. In the Location field, click Browse to display locations for your project, click a location, and then click Select.
  5. After all fields are completed, click Create. The console navigates you to the Dashboard page, and your project is created within a few minutes.
magento 2 social login pro extension google configuration 2

Step-by-step guide:

  1. After the project is created, you will receive a Notification confirming the success.
magento 2 social login pro extension google configuration 3

2. Creating an OAuth client ID

Step-by-step guide:

  1. In the left-hand menu, navigate to APIs & Services.
  2. Choose Credentials.
magento 2 social login pro extension google configuration 4

Step-by-step guide:

  1. Go to the Create credentials dropdown.
  2. Select the OAuth client ID.
magento 2 social login pro extension google configuration 5

Step-by-step guide:

  1. Press the Configure consent screen button.
magento 2 social login pro extension google configuration 6

Step-by-step guide:

  1. Click on Get Started.
magento 2 social login pro extension google configuration 7
  1. App Name: enter the name of your Magento store that asks customers for consent to use their Google account data for authentication.
  2. User support email: provide an email for users to contact if they have questions about their consent.
  3. Press Next.
magento 2 social login pro extension google configuration 8

Step-by-step guide:

  1. Choose the External audience type. In this case, Google login would be available for all users who have a Google Account.
  2. Press Next.
magento 2 social login pro extension google configuration 9

Step-by-step guide:

  1. In the Email addresses field, provide the Email addresses for Google to notify you about any changes to your project.
  2. Press Next.
magento 2 social login pro extension google configuration 10

Step-by-step guide:

  1. Agree to the User Data Policy.
  2. Press Continue.
  3. Press the Create button.
magento 2 social login pro extension google configuration 11

3. Create an OAuth client

After completing the previous steps, you will be redirected to the OAuth Overview page. Here, you can analyze your Google Login metrics. But first, you should create an OAuth Client:

Step-by-step guide:

  1. Press the Create OAuth client button.
magento 2 social login pro extension google configuration 12

Step-by-step guide:

  1. From the Application type dropdown, select Web application.
magento 2 social login pro extension google configuration 13

Step-by-step guide:

  1. Specify your Site Domain.
  2. Insert the Return URI. You can copy it from the Apple login configurations in your Magento 2 Admin Panel (“Redirect URIs” field).
  3. Press the Create button.
magento 2 social login pro extension google configuration 14

Step-by-step guide:

  1. This is your Client ID. You will need to insert it in the Magento admin panel in order to integrate Google social login.
  2. This is the Client secret. You will need to insert it in the Magento admin panel in order to integrate Apple social login.
  3. Download and save the JSON file containing your Client secret in a secure location.
  4. Press the OK button.
magento 2 social login pro extension google configuration 15

4. Create an API key

Step-by-step guide:

  1. In the left-hand menu, navigate to APIs & Services.
  2. Go to Credentials.
magento 2 social login pro extension google configuration 16

Step-by-step guide:

  1. Go to the Create credentials dropdown.
  2. Select the API key.
magento 2 social login pro extension google configuration 17

Step-by-step guide:

  1. This is your API key, which you just created. You will need to insert it in the Magento admin panel in order to integrate Google social login.
  2. Close the pop-up.
magento 2 social login pro extension google configuration 18

Step-by-step guide:

  1. Name: you can edit your API Key name in this field.
  2. Under the Application restrictions, select Websites.
magento 2 social login pro extension google configuration 19

Step-by-step guide:

  1. Provide at least one restriction in the Website restrictions section. This way, you specify which websites can use your API key. Optionally, you can use wildcard characters (*) for the subdomain and/or path. Make sure to provide both HTTP and HTTPS paths if your domain supports both.
  2. Press Done.
  3. Click Save.
magento 2 social login pro extension google configuration 20

Configuring Google Integration in Magento Social Login Pro Extension

In order to integrate Google Login into your Magento store, go to System -> Configuration -> Plumrocket Inc -> Social Login Pro in the Magento admin panel.

Step-by-step guide:

  1. Go to the Google tab.
  2. Set the Enable option to Yes to enable the Google integration.
  3. Paste Client ID into this field.
  4. Paste the Client Secret key into this field.
  5. Enter your Google API Key, which can be found at your Google Developer’s account.
  6. Click Save Config to save your settings.
Magento Social Login Extension - Configuring Google Integration

Configuring 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 -> Social Login Pro -> Configuration -> Google.

Step-by-step guide:

  1. Set the Enable option to Yes to enable Google Login on your Magento 2 website.
  2. Paste the Client ID into this field.
  3. Paste the Client Secret key into this field.
  4. Enter your Google API Key in this field.
  5. Click Save Config.
Magento 2 Social Login Extension - Configuring Google Integration

Enabling Magento Google One-Tap Sign Up and Sign In

Please follow the How to Add Magento Google One-Tap Sign In article if you want to enable it on your website.

At this point, setting up Google Magento Social Login and Magento 2 Social Login application is complete.

Next Step > Return to Social Login Pro API Reference

Was this article helpful?
12/14/202010/09/2025
Search
Search
Generic selectors
Exact matches only
Search in title
Search in content
Contents
Company
  • Home
  • About Plumrocket Inc.
  • Customer Stories
  • Programs & Promotions
  • Careers
  • Contact Us
Legal
  • Terms of Service
  • Privacy Policy
  • Refund Policy
  • Cookie Policy
  • Privacy Center
  • Updates & Support Policy
Resources
  • Blog
  • FAQ
  • Documentation
  • Tutorials
Partners
  • Partner Program
  • Affiliate Program
  • Official Partners
Plumrocket Inc. © 2008 - 2025
Follow Us:
  • Facebook
  • Twitter
  • LinkedIn
  • YouTube