Custom OAuth2

Custom OAuth2

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 END POINTS


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

    • Microsoft OAuth 2 Setup

      INTRODUCTION The OAuth 2 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 be ...
    • Facebook OAuth2

      STEP 1: SET UP AN OAUTH 2 CLIENT WITH FACEBOOK Step 1.1: Log in to Facebook for Developers Apps and click the 'Create App' button: Step 1.2: Select your app type, then continue: Step 1.3: Set your App Display name and Contact Email: Step 1.4: Click ...
    • Google OAuth2 Setup

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

      STEP 1: GET CLIENT ID AND SECRET FROM BOX Step 1.1: Go to https://app.box.com and create an account or log in Step 1.2: Go to https://app.box.com/developers/services and click the link 'Create new application' Step 1.3: Select 'Custom app' and click ...
    • Email Automation / Custom Mailing

      OVERVIEW The Custom Mailing activity allows you to send automated mails to learners enrolled in your course with the following parameters: at course enrollment # days after first access # days after last access # days after first launch of a SCORM # ...