Skip to main content
Interania

Configure the default login as Google

0votes
10updates
19views

Google Sign-In is a secure authentication system that enables users to sign in with their Google account—the same account they already use with Gmail, Play, Google+, and other Google services.

This document demonstrates how to configure Google as the default login. Google works best in the Chrome browser.

Before you start...  

Make sure you've met the following prerequisites:

  • You have a valid DNS name (no IPs) for the Interana cluster.
  • You've registered with Google as a valid application on the Google Developers website.

Configure Google as the Interana default login

This section demonstrates how to configure the Interana cluster to use Google as the default login. When you registered with Google as a valid application, Google then gives you credentials that you will install on the API node of the Interana cluster.

To configure Google as the default login, do the following:
  1. Go to https://console.developers.google.com and create a new project, or use an existing one.

  2. Click the project name, then go to APIs & auth > Credentials, and read your Google OAuth credentials.

  3. Select Create New Client ID > Web Application.

  4. Set the Authorized javascript origin to https://<url_interana_instance>, and set the Authorized Redirect URL to https://<url_interana_instance>/api/google.

  5. Select APIs & auth > Consent Screen.

  6. Add Interana as the product Name, then enter your email address

  7. Make a backup copy of the google_config.json file, then add the original file to the API node at /opt/interana/backend/config/google_config.json.
  8. Log in to the config node and set Google auth as the default with the following command.
ia settings update auth enable_google_auth yes
  1. Disable password auth with the following command.
ia settings update auth password_auth disabled
  1. Restart the Interana service with the following command.
sudo service interana restart

What's Next

You may also be interested in the following topics:

  • Was this article helpful?