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:
Go to https://console.developers.google.com and create a new project, or use an existing one.
Click the project name, then go to APIs & auth > Credentials, and read your Google OAuth credentials.
Select Create New Client ID > Web Application.
Select APIs & auth > Consent Screen.
Add Interana as the product Name, then enter your email address.
- Make a backup copy of the google_config.json file, then add the original file to the API node at /opt/interana/backend/config/
- 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
- Disable password auth with the following command.
ia settings update auth password_auth disabled
- Restart the Interana service with the following command.
sudo service interana restart