Google sign-in (OAuth) authentication
Let visitors sign in and register on your Listivo site with their Google account. You create a project and an OAuth client in the Google API Console, then paste the client ID and secret into the Listivo Panel.
2 minute read
Listivo Theme allows your visitors to log in and register via Google, like this:
Below you find the instructions on how to configure it.
Create a Google project
- 1 Open the Google API Console
-
2
Create a new project
If this is your first Google API key, Google will ask you to create a “New Project”.
-
3
Start creating credentials
Back in https://console.developers.google.com/, open Create Credentials and choose “OAuth client ID”.
-
4
Configure the consent screen
If you do not have a product name yet, you will need to click “Configure Consent Screen”. If you have it already, skip ahead to “Create the OAuth client ID” below.
Fill in the consent screen
-
1
Select the user type
Select User Type: External.
-
2
Add the app name and support email
Add “App name” and “User support email”.
-
3
Add the authorized domain and contact
Add the authorized domain and Developer Contact Information, then click “Save and Continue”.
-
4
Skip the scopes
Scopes – just click “Save and Continue”.
-
5
Skip the test users
Test Users – just click “Save and Continue”.
-
6
Go back to the dashboard
In the last step just click “Back to Dashboard”.
Create the OAuth client ID
-
1
Create credentials
Visit https://console.developers.google.com/ and create credentials: “OAuth client ID”.
-
2
Select Web application
Select Web application as the application type.
-
3
Copy the callback URL from your panel
Now comes the most important part of the configuration. You need to add the Callback URL to “Authorized redirect URLs”. You can find it in your Listivo Panel and copy it:
-
4
Paste it into Authorized redirect URIs
Paste the URL into the Authorized redirect URIs section of the OAuth client form.
Finish in the Listivo Panel
-
1
Copy your client ID and secret
Copy Your Client ID and Your Client Secret from the confirmation dialog.
-
2
Paste them into the Listivo Panel
Paste both values into the Google Authentication section of the Listivo Panel.
-
3
Enable Google authentication
Please make sure you checked the “Enable Google Auth” checkbox, then save the changes.
Done. Now your users can use their Google Account this way:
Ask the people who build Listivo
We answer by email from support@tangiblewp.com. With Premium Support, we also fix your site when something breaks.
We can also run your site for you, or build a new one.
Was this guide helpful?