Single Sign-On (SSO) allows users to log in once and gain access to multiple applications without needing to authenticate again. Setting up SSO for Google improves security and user experience, especially in business environments. This guide covers how to configure SSO for Google Identity Platform.
Prerequisites
-
A Google Cloud project with Identity Platform enabled
-
A domain that is verified in Google Cloud
-
Administrator access to Google Cloud Console
Setting Up SSO for Google
1. Go to the Google Cloud Console.
2. Create a new project by navigating to Google SSO and clicking New Project.
Specify the Project name and click Create.
3. Navigate to Clients and click Get started.
4. Set the App name and User support email. Click Next.
5. Select the type of Audience and click Next.
6. In Contact Information, provide your email and click Next.
7. Check "I agree to the Google API Services: User Data Policy" and click Create.
8. Navigate to APIs & Services > Credentials.
9. Click Create Credentials and select OAuth 2.0 Client IDs from the dropdown.
10. Set up the following:
-
- Application type: Web application
-
Name: Your app name
-
Authorized JavaScript origins: Set to
[Localization HUB URL] -
Authorized redirect URIs: Set to
[Localization HUB URL]/[callback path], where[callback path]is, for example,signin-google.
Click Create.
Note down:
-
-
Client ID
-
Client Secret
-
Localization Hub Configuration
To enable SSO for Google in Localization Hub, modify web.config with the following parameters:
<add key="GoogleSSOEnabled" value="true" /> <!-- Set to 'true' to enable Google SSO, 'false' to disable it -->
<add key="GoogleSSOClientID" value="[Client ID]" /> <!-- Take this from the previous step -->
<add key="GoogleSSOClientSecret" value="[Client Secret]" /> <!-- Take this from the previous step -->
<add key="GoogleSSOCallbackPath" value="[callback path]" /> <!-- Take this from the previous step -->
As a result, an SSO button should appear in the Login View:
Comments
0 comments
Please sign in to leave a comment.