To configure Sign in with Google for your Emtrain account, you must be logged in as an administrator on your organization's Google Workspace.
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 click 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 the Consent Screen, enter the following in the App domain and Developer contact information sections:
- Application home page: The URL for your Emtrain site, e.g. 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.
- Submit your consent screen configurations by clicking 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, click + ADD URI and enter the URL for your Emtrain site, e.g. https://companyname.app.emtrain.com. Under Authorized redirect URIs, click + ADD URI and enter https://emtrain.com, then click 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 left menu in the Manage application:
- Under Social Logins, select the checkbox for Google, paste the values for Client ID and Client Secret into the fields and click Save.
- After the configuration is complete, you'll see the Sign in with Google button on the login screen for your Emtrain account.
- Review the following guidelines to understand who will be able to use the Sign in with Google option on your account:
- If the account does NOT have Self-Signup enabled:
- Users first need to be added to the roster to be able to sign in with Google. Any user who has been added with an email address that is part of that company’s Google workspace will be able to log in with Google.
- If a user has not been added to the roster, they will not be able to log in with Google, even if their account is part of the company’s Google workspace.
- If the account HAS Self-Signup enabled:
- Users will be able to sign up for / log into the account with any Google account, including personal gmail.com addresses.
- If the account does NOT have Self-Signup enabled: