Skip to content

How to set up google authentication

Google authentication is configured by navigating to Website Settings → Authentication → Google Login, and filling in the two fields: Client ID and Client Secret.

In the following section, we’ll guide you through the process of obtaining these two values.

The steps below are based on and expanded from Google’s official tutorial: “Integrating Google Sign-In into your web app”, specifically the “Create authorization credentials” section.

Google’s setup tutorial assumes you’ve already: Created a project and Set up branding for your app. If you haven’t completed these steps yet, follow the instructions below from Step 1 “Create a Project”.

Screenshot for “How to set up google authentication”

Before getting started, make sure you meet the following requirements:

To obtain your Client ID and Client Secret, you first need to create a project in the Google Cloud Console.

Click “Create New Project” to begin.

If you already have a project you will see the name of the project instead of “Create New Project”.

Screenshot for “How to set up google authentication”

Finish the process by naming your project and click on “Create”.

Screenshot for “How to set up google authentication”

After creating the project, you need to configure branding.

(Google requires this step as part of the setup process.)

Click “Create Branding” to proceed.

Click the “Get Started” button.

Screenshot for “How to set up google authentication”

Under App Information, fill in the following fields:

  1. Name – Enter a name for your application.
  2. Email – Enter a valid email address.

Click “Next” to continue.

Screenshot for “How to set up google authentication”

Select the “External” option.

Click “Next” to proceed.

Screenshot for “How to set up google authentication”

In the Email address field, use the same email you entered in Step 2.

Click “Next”.

Screenshot for “How to set up google authentication”

Check the box to accept the Google API Services: User Data Policy.

Click “Continue”, then “Create”.

Screenshot for “How to set up google authentication”

We’ll now walk you through the process of obtaining your Client ID and Client Secret.

We are now at the beginning of Google’s tutorial section titled “Create authorization credentials”.

At this point, you may also consult Google’s official documentation for additional context and guidance.

Click “Create client”.

Screenshot for “How to set up google authentication”

Under Application Type, select Web application.

In the Name field, enter a name for your client.

Screenshot for “How to set up google authentication”

Click “Add URI”, then:

  1. For Authorized JavaScript origins, add your website’s domain.
  2. For Authorized redirect URIs, add your domain followed by /.auth/login/google/callback.

Click “Create” to continue.

Screenshot for “How to set up google authentication”

Your Client ID and Client Secret have been generated.

Click “OK” to finish.

Screenshot for “How to set up google authentication”

To view your Client ID and Client Secret again, click on the project name.

Screenshot for “How to set up google authentication”

Go to Website Settings.

Screenshot for “How to set up google authentication”

Click on Authentication.

Screenshot for “How to set up google authentication”

Select Google Login.

Screenshot for “How to set up google authentication”

Enter your Google Client ID and Google Client Secret in the corresponding input fields.

Click “Save Settings” to apply the changes.

Screenshot for “How to set up google authentication”