Follow these steps to enable Google Single Sign-On (SSO) for your ShareVision site.
\uD83D\uDCD8 Instructions
Step 1: Go to Google Cloud Console.
Step 2: Create a New Project:
Click on the project drop-down and select New Project.
Enter your project name and click Create.
Step 3: Set Up OAuth Consent Screen:
Navigate to APIs & Services > OAuth consent screen in the left sidebar.
Choose Internal and click Create.
Fill in the following details:
App name: ShareVision
User support email: Add an email from your organization.
Under App Domain:
Application home page: sharevision.ca
Authorized domains: sharevision.ca
Under Developer Contact Information:
Add an email address from your organization that will receive emails from Google about ShareVision changes that involve Google.
Click Save and Continue.
Step 4: Configure Scopes:
On the Scopes screen, click Add or Remove Scopes.
Add the following scopes:
https://www.googleapis.com/auth/userinfo.email
https://www.googleapis.com/auth/userinfo.profile
Click Save and Continue.
Step 5: Create OAuth 2.0 Client ID:
Navigate to Credentials in the left sidebar.
Click Create Credentials and select OAuth 2.0 Client ID.
For Application Type, choose Web application.
Name: Enter ShareVision.
Authorized redirect URIs:
Enter
https://yoursubdomain.sharevision.ca
whereyoursubdomain
is the first part of your ShareVision site URL.Enter
https://yoursubdomain.sharevision.ca/signin-google
whereyoursubdomain
is the first part of your ShareVision URL.
Click Create.
Make a note of your Client ID and Client Secret. You will need these later to enter in the ShareVision application settings.
Step 6: Configure ShareVision Application Settings:
Open your ShareVision site and navigate to the Application Settings from the admin home page.
Click on the External Login Settings tab.
Click the Activate Google Login checkbox.
Enter the Client ID and Client Secret from earlier.
In the User Info Endpoint, enter
https://www.googleapis.com/oauth2/v2/userinfo
.Click Save All in the top right of the Application Settings screen.
Step 7: Verify the Setup:
Log out of ShareVision.
You should now see a Sign In With Google button on the login page.
Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu.