Configure the default login as Google
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.
-
Set the Authorized javascript origin to https://<url_interana_instance>, and set the Authorized Redirect URL to https://<url_interana_instance>/api/google.
-
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/
google_config.json. - 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
What's Next
You may also be interested in the following topics:
- Manage user roles—add and remove users, and assign user roles.
- Add an admin email address and password—add an email address for an admin to receive system reports and alerts.