1. Home
  2. Knowledge Base
  3. WishList Member Add-ons
  4. WishList Member Social Login – Enable and Configure Google Provider

WishList Member Social Login – Enable and Configure Google Provider

This article is focused on the enabling and connection process between Google and WishList Member Social Login. More details on the WishList Member Social Login Add-on including features, shortcodes, additional social providers, display options and more can be found in the main WishList Member Social Login Knowledge Base entry.

Enable Google Social Provider

You can select and enable the Google option in the Social Login section of WishList Member.

WishList Member Social Login - Enable Google

The Google configuration section appears and you can click to “Enable the Google Provider”.

WishList Member Social Login - Enable Google

The Google configuration section will now display two fields required to connect your site with your Google App. This is because WishList Member and Google need to be connected using the Google Client ID and Google Client Secret provided by Google. This connection process is explained below the following screenshot.

WishList Member Social Login - Enable Google

Connecting WishList Member and Google

You will need to create a Google App in order to allow your users to login with their Google accounts.

The first step is navigating to https://console.cloud.google.com/apis/ and logging in with your Google account in order to create your Google App.

WishList Member Social Login - Connect Google and WishList Member

Creating a Google App

Once you have logged into your Google account as noted above, the Google Enabled APIs & Services section appears. If you already have an existing project you want to use, select the project from the dropdown on the top of the page. If you do not have an existing project, click the Create Project link.

WishList Member Social Login - Connect Google and WishList Member

The New Project section appears after clicking the Create Project link. Set your Project Name and click the Create button.

WishList Member Social Login - Connect Google and WishList Member

You will be directed back to the Enabled APIs & Services section and are now within the new project you just created. In this example, the project is named My Project.

WishList Member Social Login - Connect Google and WishList Member

Navigate to OAuth Consent Screen in the side navigation and select External as the User Type and click the Create button.

WishList Member Social Login - Connect Google and WishList Member

Setting Up Your Google App

The Google App is created based on the information above. Additional fields will appear and you can fill them in accordingly.

In the App Information section, enter a name for your Google App in the App Name field and a support email address in the User Support Email field. The App Name will appear to users when asking for their consent. The email address can be used by users to contact you with questions about their consent.

WishList Member Social Login - Setup Google App

Scroll down the page to the App Domains section and click the “+ Add Domain” button under Authorized Domains.

WishList Member Social Login - Setup Google App

Enter your domain name into the Authorized Domain Name 1 field without a subdomain and without http or https. This should be your main site URL.

You will need to replace YOUR-SITE-URL with your actual site URL.

WishList Member Social Login - Setup Google App

Scroll down the page to the Developer Contact Information section and enter an email address Google can use to notify you about any changes to your project.

WishList Member Social Login - Setup Google App

Once all the fields are filled in as explained above, click the Save and Continue button on the bottom of the page.

WishList Member Social Login - Setup Google App

The Scopes section will appear. Click the Save and Continue button on the bottom of the page.

WishList Member Social Login - Setup Google App

The Test Users section will appear. Click the Save and Continue button on the bottom of the page.

WishList Member Social Login - Setup Google App

The Summary section will appear. Click the Credentials link in the left side navigation.

WishList Member Social Login - Setup Google App

The Credentials section will appear. Click the Create Credentials link on the top of the site and select the OAuth Client ID option.

WishList Member Social Login - Setup Google App

The Create OAuth Client ID section will appear. Select Web Application from the Application Type dropdown.

WishList Member Social Login - Setup Google App

Additional fields will appear and you can fill them in accordingly.

Enter a web client name into the Name field.

The Web Client Name is only used to identify the client in the console and will not be shown to users.

WishList Member Social Login - Setup Google App

Scroll down the page to the Authorized Redirect URIs section and click the “+ Add URI” button.

WishList Member Social Login - Setup Google App

Add the following to the “Authorized Redirects URIs” field and click the Create button. You will need to replace YOUR-SITE-URL with your actual site URL.

https://YOUR-SITE-URL.com/?wishlist_member-sl-callback=google
WishList Member Social Login - Setup Google App

The OAuth Client Created popup appears. You will see the Client ID and Client Secret fields within the popup. Copy each field value and paste it into the corresponding field in WishList Member.

WishList Member Social Login - Setup Google App

Click the Save Settings button in WishList Member once the two fields have been filled in.

WishList Member Social Login - Connect WishList Member and Google

Once you have saved the Client ID and Client Secret, click the Verify Settings button to complete the integration.

WishList Member Social Login - Verify

The Google verification screen will be displayed. Click the Continue button to confirm the integration.

WishList Member Social Login - Connect WishList Member and Google

A successful verification message will be displayed and Google is now connected with WishList Member.

WishList Member Social Login - Verify

This article is focused on the enabling and connection process between Google and WishList Member Social Login. More details on the WishList Member Social Login Add-on including features, shortcodes, additional social providers, display options and more can be found in the main WishList Member Social Login Knowledge Base entry.

Was this article helpful?

Related Articles