OVERVIEW
Google OAuth is commonly used in Pluto LMS to provide secure and convenient authentication and authorization for users.
By integrating Google OAuth into an LMS, institutions can simplify user registration and login processes, enhance security, and provide users with the convenience of single sign-on (SSO) using their Google credentials. It also allows the LMS to leverage Google's suite of services to enrich the learning experience, such as integrating with Google Workspace for collaborative document editing or using Google Calendar for course scheduling.
USE CASE EXAMPLE:
Single Sign-On (SSO) with Google OAuth 2.0 in an LMS
Scenario: A university uses an LMS to manage course content, student enrollment, and communication among students and instructors. To streamline access for students and instructors while ensuring security, the university implements Google OAuth 2.0 for Single Sign-On.
By implementing Google OAuth 2.0 in this use case, the university's LMS simplifies user access, enhances security, and leverages the power of Google services for a more efficient learning experience.
STEP 1: CREATE NEW PROJECT
Step 1.1: To set up an OAuth 2 client with Google, you need to first login to the
Google Cloud Console and create a new project.
Click here to learn more about creating and managing projects within GCC.
Step 1.2: Give your new project a name and define your organization and location settings. Then click on "Create":
STEP 2: ENABLE OAUTH CONSENT
Step 2.1: Select "OAuth consent screen" from the menu on the left. Then select "External" to allow new users to signup to your LMS with their Google Account. Finally, click on "Create":
Step 2.2: Give your app a public name (shown to your end users on SSO login), set your support email, then scroll down:
Step 2.3: Enter your business details such as your website home page, privacy policy and terms of service. You will also need to add your authorised business domain here.
These details will be used by Google to verify your business.
Step 2.4: Scroll down further to enter your preferred contact email for Google notifications:
Step 2.5: Click on "Save and continue" through Scopes and Test users.
STEP 3: GET YOUR APP CREDENTIALS
Step 3.1: Select "Credentials" from the menu on the left, then select "+ CREATE CREDENTIALS", then "OAuth client ID":
Step 3.2: Setup the credentials for a Web Application and give your Client a name.
Step 3.3: After setting up your App credentials, you can access the Client ID and Client Secret by click on the pencil icon below:
Step 3.4: Copy your Client ID and Client Secret:
STEP 4: ADD CREDENTIALS TO PLUTO LMS
Step 4.1: Click on "Site admin", followed by "Integrations" and then, under "Single Sign On", click on "Connect services/OAuth2."
Step 4.2: Click on the Google gear icon as shown below.
Step 4.3: Add your Client ID and Client Secret (from Step 2 above), then leave other settings and click on save changes:
Step 4.4: (1) Connect a verified test account
Note: This user account must be within your Google Workplace account. Please contact Google support for help with adding and managing users within your Google Console account.
and once you have the green tick, (2) unhide the integration so that users can begin logging into your LMS with their Google accounts.
SUCCESSFUL SETUP
If the Google OAuth2 SSO login button has been successfully setup on your Pluto LMS, you will see this: