Enable Google authentication

To enable Single Sign-On (SSO) with Google, you must first create a Google Cloud project, configure the OAuth consent screen, and create an OAuth client. You will then use your OAuth client’s ID and secret to link NXLog Platform to Google.

Create a Google Cloud project

  1. Log in to your Google Cloud Portal account.

  2. Click the projects' dropdown and then click New project.

    Create a Google Cloud project
  3. Enter a Project name, for example, NXLog Platform, and an optional parent organization.

    New Google Cloud project
  4. Click the Create button.

  1. Navigate to the Google Auth Platform product and click GET STARTED.

  2. Enter an App name, for example, NXLog Platform.

  3. Enter the remaining information requested by the wizard, making sure that you select the External audience.

    Google Auth Platform audience configuration screen
  4. Click CREATE to complete the wizard.

  5. Click Data Access on the left navigation sidebar, and then on ADD OR REMOVE SCOPES to select the information available to NXLog Platform.

  6. Enable userinfo.email, userinfo.profile, and openid, and click the UPDATE button.

    Google Cloud app scopes
  7. Click SAVE to commit the changes.

  8. Optionally, click Audience on the left navigation sidebar and add test users.

Create an OAuth client ID

  1. Click Clients on the left navigation sidebar, and then on the + CREATE CLIENT button to create an OAuth client ID.

  2. Select Web application for the Application type field.

  3. Enter an application Name, for example, NXLog Platform.

  4. Add the Authorized redirect URI https://auth.nxlog.example.com/landing, replacing nxlog.example.com with your NXLog Platform domain. This is where Google will redirect users after authorization.

    Google Cloud OAuth client ID
  5. Click CREATE.

  6. Click the new OAuth client on the list and take note of the Client ID and Client secret; you will use these to link NXLog Platform to Google Cloud.

    Google Cloud OAuth client details
  1. Log in to NXLog Platform and navigate to Administration > Tenant operations > Platform configuration.

  2. Look for the Google section under Social Login.

  3. Enter your Google Cloud client ID and secret in the Client ID and Secret fields.

  4. Enable the switch (green). NXLog Platform hides the Secret and enables SSO authentication with Google.

    NXLog Platform Google authentication

Invite users to NXLog Platform

Before users can sign in using Google, you must invite them to NXLog Platform using their email address, and they must accept the invitation to create an account. See Manage organization users for more information.