This article will help you configure the Google Social Login for your Emtrain account. Before you begin, ensure that you’re logged in as an administrator on your organization's Google Workspace.
Configuring Google Social Login
After logging in, follow these steps:
- Navigate to the Google Cloud Console create a new project for Emtrain OAuth.
- After you've created (and selected) the new project, select API & Services, then OAuth Consent Screens from the left menu:
- For User Type, select Internal, then select Create:
- On the Consent Screen, enter the following in the App information section:
- App name: Emtrain
-
User support email: Select the email address for users to contact you with questions about their consent.
- Also on on the Consent Screen, enter the following in the App domain and Developer contact information sections:
-
Application home page: The URL for your Emtrain site, for example
https://companyname.app.emtrain.com - Application privacy policy link: https://emtrain.com/privacy-policy
- Application terms of service link: https://emtrain.com/terms-of-service
- Authorized domain 1: https://emtrain.com
-
Email address: A developer support email address for your organization.
-
Application home page: The URL for your Emtrain site, for example
- Submit your consent screen configurations by selecting SAVE AND CONTINUE, then optionally, configure Scopes for the application per your organization's preferences.
- Next, select Credentials from the left menu:
- On the Credentials screen, select + CREATE CREDENTIALS, then OAuth client ID.
- From the Application type dropdown, select Web application, then enter Emtrain in the name field.
- Under Authorized JavaScript origins, select + ADD URI and enter the URL for your Emtrain site, e.g.
https://companyname.app.emtrain.com. Under Authorized redirect URIs, select + ADD URI and enterhttps://emtrain.com, then select CREATE. - After creating the OAuth client ID, the values you need to copy and paste into the Site Configuration area of your Emtrain account will be available on the right side of the screen under the heading Additional information, with the labels Client ID and Client secret:
-
Log into your Emtrain account as a user with Account Admin permissions and select Site Config, then Integrations from the Manage menu.
- Under Social Logins, select the checkbox for Google, paste the values for Client ID and Client Secret into the fields and select Save.
- After the configuration is complete, you'll see the Sign in with Google button on the login screen for your Emtrain account.
Review
Google Social Login works differently depending on whether you have Self-Signup enabled on your account. Review the guidelines below to understand who will be able to use the Google Social Login option on your account.
If the Google Social Login is enabled and the account does NOT have Self-Signup enabled:
Users first need to be added to the Emtrain roster to be able to sign in with Google. Any user who has been added with an email address that is part of your company’s Google workspace will be able to log in with Google Social Login.
If a user has not been added to the Emtrain roster, they will not be able to log in with Google, even if their account is part of your company’s Google workspace.
If Google Social Login is enabled and the account HAS Self-Signup enabled:
Users will be able to sign up for or log into the account with any Google account, including personal @gmail.com addresses.