Custom OAuth2

Custom OAuth2

OVERVIEW

Pluto LMS , supports OAuth2 for integrating with external services and enabling Single Sign-On (SSO) capabilities. Here's a short overview of how custom OAuth2 is used.

Custom OAuth2 integration in PLuto LMS enables educational institutions to connect their LMS with various external tools, services, and applications, enhancing the overall learning experience while maintaining security and user convenience. The specifics of the implementation may vary depending on the OAuth2 provider and LMS version in use.

USE CASE EXAMPLE:

Secure Integration with External Certification Provider

Scenario:
Imagine a large corporation, ABC Corp, with a dedicated LMS used for training its internal staff. ABC Corp wants to provide its employees with access to an external certification program offered by a third-party certification provider called "CertifyPro." This certification program includes courses, exams, and certification badges.

Use of Custom OAuth2:
To achieve this integration securely and efficiently, ABC Corp decides to implement custom OAuth2 within its LMS.

In this use case, custom OAuth2 integration allows ABC Corp to provide its employees with a convenient and secure way to access external certification programs without the need for separate logins. It also enables ABC Corp to track employee progress and maintain control over access and security within its LMS.

CONFIGURE YOUR CUSTOM APP

If you have an external application you would like to connect Pluto LMS to via Single Sign On (SSO), you can setup a custom OAuth2 service. If you are unsure how to do this with your particular external application, please kindly consult your IT team or you may need to contract external developers to help you set this up. 

You can also refer to our built in services with Google, Facebook and Microsoft to serve as a guide.

REDIRECT URL


When creating a custom OAuth2 service to suit your organisation, you'll need to set the "Redirect URL" to "your Pluto LMS site URL + /admin/oauth2callback.php". If your Pluto LMS site is available at https://courses.yoursite.com the callback URL would be https://courses.yoursite.com/admin/oauth2callback.php.


OAUTH2 SETTINGS IN PLUTO LMS


If you would like to created your own custom OAuth2 service. 

Step 1: Click on "Site admin" > "Integrations" > "Single Sign On / OAuth2":






Step 2: Click on the Custom OAuth2 gear icon as shown below:



The setup interface can be seen here:



And the below settings being optional:



Once you've completed your custom service setup, click on "Save changes."

CUSTOM ENDPOINTS

You will need to tell Pluto LMS where to point custom endpoints to connect to your application. These settings can be found here: 



For example, using the Microsoft end point guidelines:



FIELD MAPPINGS


To connect your user profiles to Pluto LMS, you need to define a link between external and internal end points. These settings can be found here:



Example shown below:


CONNECTION SUCCESS


If you have configured your custom OAuth2 connection correctly, you will see ticks as shown below (using Microsoft as an example):





    • Related Articles

    • Single Sign On

      OVERVIEW Single sign-on (SSO) in a Learning Management System (LMS) for internal staff training is a streamlined authentication process that enables users to access the LMS and other related systems and applications with a single set of login ...
    • Google OAuth2 Setup

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

      OVERVIEW OAuth 2 Facebook login is used to simplify the login for users who are used to logging into facebook. Login in with a OAuth2 authentication means that you can login with your facebook credentials. USE CASE EXAMPLE: Facebook OAuth2 can be ...
    • Microsoft OpenID Connect SSO

      OVERVIEW The OpenID Connect Pluto LMS authentication enables users to log in using their Microsoft account via a button on the login page. If account creation is enabled, when a user first logs in, a new account will be created. Otherwise, they will ...
    • LinkedIn OAuth2 Setup

      OVERVIEW You can provide a "Log in using LinkedIn" feature on your LMS login page by creating a new app on the LinkedIn Developers page and then adding the client ID and secret obtained here to the preconfigured service on your Pluto LMS. USE CASE ...