Contents
Login into Google Developers Console
First you will need to Login into your Google Account and then to access the Google Developers Console.
Select a project
After you login and access the Google Developers Console click on “Select a project” Menu Item.
Create a project
After we click on “Select a project” Menu Item a popup will appear. We will need to click on “New project”.
Setup the project
After we click on “New Project” we will need to choose a name for the project. After finishing to setup the Project click on “Create”.
Create Credentials
To use the Google API we need to Create Credentials. Click on “Credentials” to get started.
After clicking on “Credentials” we will need to create an OAtuh 2.0 client ID. Click on “OAuth consent screen”.
Create an OAuth 2.0 client ID
Step 1: Choose from the following options and then click on “Create”:
- Internal – only available to users within your organization.
- External – available to any user with a Google Account.
Step 2: After clicking on “Create” we will need to set the following options:
- Application name – the name of the app asking for consent
- Application logo – Optional
- Authorized domains – Optional until you deploy your app
- Application Homepage link – Optional until you deploy your app
- Application Privacy Policy link – Optional until you deploy your app
- Application Terms of Service link – Optional
To test the site you only need to fill the “Application name” field. Save the settings.
Step 3: Go to “ Credentials” → “Create credentials” → “OAuth client ID”
Step 4: Choose your Application type.
Step 5: We will need to set the following options:
• Name – add your own name
• Authorized JavaScript – add your website url – Example: http://www.yourdomain.com
• Authorized redirect URLs – add your website url – Example: http://www.yourdomain.com
After you finish click on “Create”.
Client ID Credentials
After clicking on “Create” you will be prompted with your Client ID Credentials. You will need to copy the Client ID and click on “Done”.
Paste the Google Client ID
After you copy the Google Client ID go to your website -> Dashboard -> Profile Builder -> Social Connect -> Enable Google Login and paste your Client ID. Scroll to the bottom to Save.
Google Login in Front End
Social Login with Google should be available on WordPress Default and Profile Builder forms.