Configure SAML with OneLogin

If you use OneLogin as your SAML identity provider (IdP), you can use the information in this document to set up SAML authentication for your LMS.

These steps assume that you have permissions for modifying your organization’s OneLogin portal.

Note: These steps reflect a third-party application and are subject to change without our knowledge. However, even if the steps described here do not fully match the screens you see in your IdP account, using these steps along with the IdP’s documentation should still enable you to configure the integration.

Step One: Begin Adding The Integration In The LMS

  1. While signed in to the LMS as an administrator, go to System > Integration > Single Sign-On (SSO) > SAML Sign-In
  2. Click the + Add An Integration button.
  3. Select OneLogin from the list of SAML Identity provider.
  4. Keep this screen/tab open for now as we will refer to it later.
Figure 1
Figure 1: Add A New Integration Screen in The LMS

Step Two: Adding The LMS To Your OneLogin Applications

  1. In a new tab/window, access OneLogin.
  2. Go to Applications > Add App.
  3. Search for SAML Test Connector.
  4. Select the SAML Test Connector (Advanced) app.
Figure 2
Figure 2: OneLogin > Find Applications
  1. Edit the Display Name, entering My LMS.
  2. Accept other default values for now and click Save.
  3. Keep this screen/tab open for now as we will refer to it later.

Step Three: Add Identity Provider Details To Te LMS

In this step, you'll provide the LMS with the SAML Identity provider values it needs to communicate with OneLogin.

  1. In the OneLogin app connector UI, select the SSO tab.
  2. Copy values from the SSO tab and paste them into the Identity Provider Details section of the LMS, as shown below.
Copy SSO Tab Field Value to LMS Field Value
Issuer URL > Entity ID / Issuer URL
SAML 2.0 Endpoint (HTTP) > SAML 2.0 Endpoint / SSO URL
SLO Endpoint (HTTP) > SLO Endpoint / Logout URL
X.509 Certificate > View Details > X.509 Certificate

After copying values from the SSO tab into the Identity Provider Details section of the LMS, it should look something like this:

Figure 3
Figure 3: LMS Identity Provider Details

Step Four: Add Service Provider Details To OneLogin

In this step, we’ll define the service provider values that OneLogin will need to identify your app.

  1. On the Add A New Integration screen in the LMS, go to the Service Provider Details section.
  2. In the OneLogin app connector UI, select the Configuration tab.
  3. Copy values from the LMS into the Configuration tab fields as shown below.
Copy LMS Field Value to OneLogin Configuration Tab Field
Entity ID > Audience
Assertion Consumer Service / SSO Service > ACS (Consumer) URL *and* Recipient
Single Logout Service > Single Logout URL
  1. You can leave RelayState blank.
  2. Set ACS (Consumer) URL Validator to .*.
  3. Click Save.

Step Five: Defining User Attributes

In this step, we’ll define the information about the user (id, email address, first name, last name) that need to be passed to the LMS.

  1. In the OneLogin app connector UI, select the Parameters tab.
  2. Click the plus icon in the upper right corner of the parameter listing.
  3. Under Field Name enter "uuid" (without quotations), check the box that reads Include in SAML assertion, then click Save.
  4. In the Value dropdown, select UUID and then click Save.
  5. Repeat this sequence three more times, using the fields/values below.
Field > Value
emailAddress > Email
firstName > First Name
lastName > Last Name

Note: Even though OneLogin may provide additional user data that can be passed as parameters, only the paramters listed above are compatible with the LMS; all other values will be ignored.

Step Six: Finshing Up & Testing

At this point you've completed all the necessary steps to configure the LMS application in OneLogin.

In the LMS, on the Add A New Integration screen, finish configuring the User Login settings and then click Save to save the integration in the LMS.

To test your new integration, you'll need to give users access to your new application in OneLogin before using the newly generated LMS login link for this integration. For more information on granting users access to your application via OneLogin, please refer to the IdP's documentation.