Setting Up ShareVision External Login with Google (Single Sign-On)

Follow these steps to enable Google Single Sign-On (SSO) for your ShareVision site. When Single Sign-On is enabled, any user that has already logged into their Google account will not be prompted to login to ShareVision.

External Logins only applies to sites where the External Login Settings feature has been set up. This feature is only available for ShareVision Plenty subcriptions.

 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:

  • 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 where yoursubdomain is the first part of your ShareVision site URL.

    • Enter https://yoursubdomain.sharevision.ca/signin-google where yoursubdomain 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.

    image-20240812-210740.png

  • 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.

 Related articles