Connect Google
In this article, we'll go over how to connect Google so your customers can save time by using their Google accounts to sign in to your store.
Required: WooCommerce Social Login is a premium WooCommerce extension included with Managed WordPress Ecommerce, Managed WooCommerce Stores or as a standalone purchase.
Obtain your Authorized Redirect URI
- Sign into WordPress, go to WooCommerce and click on Settings.
- Select the Social Login tab and click on Google.
- Copy the Authorized Redirect URI provided at the top. This will be used in the next section to configure your Google Cloud project.
Create a new project
- Log into your Google Cloud Resource Manager.
- Click on Create Project.
- Create a project name (visitors will see this when approving the login) and select Create.
Note: The page may take a moment to refresh while Google creates your project.
- Once the project is created, navigate to the top-left Google Cloud menu, select APIs & Services and click on Credentials.
- Select Configure Consent Screen at the top and configure with your company information and business purposes.
Note: Learn more about configuring the consent screen in the Google Cloud documentation.
- After you've configured your consent screen, return to the Credentials tab and click on Create Credentials.
- Select the OAuth client ID option and set the following:
- Application type: Choose Web application.
- Name: A name to be able to identify your OAuth 2.0 client in the console.
- Authorized Javascript Origins: Enter your site URL (e.g. http://www.coolexample.com/).
- Authorized Redirect URI: Enter the URL you copied from your WooCommerce settings in the prior section.
- Select Create to save.
- Copy the generated Client ID and Client Secret. You will use these to finish configuring your settings inside of WooCommerce.
Enter application details
- Sign into WordPress.
- Go to WooCommerce and click on Settings.
- Select the Social Login tab and click on Google.
- Select Enable Google.
- Enter the Client ID and Client Secret you copied from Google.
- Click on Save changes.
Related steps
Refer to the links below for steps on how to connect other social login methods: