Enable Google authentication
The Single Sign-On (SSO) integration described on this page is currently in beta testing and may not function as expected. Don’t use this feature in production environments since it may produce unexpected results or errors. |
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
-
Log in to your Google Cloud Portal account.
-
Click the projects' dropdown and then click NEW PROJECT.
-
Enter a Project name, e.g., NXLog Platform, and an optional parent organization.
-
Click the CREATE button.
Configure your OAuth consent screen
-
On your project’s welcome screen, under Quick access, click APIs & Services.
-
Under APIs & Services, select OAuth consent screen to configure the screen your users will see when logging in to NXLog Platform with a Google account.
-
Select the External option and click CREATE.
-
Follow the instructions to fill in the required information, and when ready, click SAVE AND CONTINUE.
-
Click ADD OR REMOVE SCOPES to select the information available to NXLog Platform.
-
Enable userinfo.email, userinfo.profile, and openid, and click the UPDATE button.
-
Click SAVE AND CONTINUE to proceed to the next step.
-
Optionally, add test users and click SAVE AND CONTINUE.
Create an OAuth client ID
-
Under APIs & Services, select Credentials to create an OAuth client ID.
-
Click the CREATE CREDENTIALS dropdown and select OAuth client ID.
-
Select Web application for the Application type field.
-
Enter an Application name and add the redirect URI where Google will redirect users after authorization.
-
Click CREATE. Your new OAuth client information will be displayed. Take note of the Client ID and Client secret; you will use these to link NXLog Platform to Google Cloud.
Link NXLog Platform to Google Cloud
-
Log in to NXLog Platform and navigate to Administration > Tenant operations > Platform configuration.
-
Look for the Google section under Social Login.
-
Enter your Google Cloud client ID and secret in the Client ID and Secret fields.
-
Enable the switch (green). NXLog Platform hides the Secret and enables SSO authentication with Google.