SSO setup with SAP Litmos using Drupal IdP
This document will help you configure SAP Litmos as a Service Provider (SP), making Drupal as your Identity Provider (IDP). Following these steps will allow you to configure SAML SSO between SAP Litmos and your Drupal site such that your users will be able to log in to SAP Litmos using their Drupal credentials.
The Drupal SAML SSO - Identity Provider module is compatible with Drupal 7, Drupal 8, Drupal 9, Drupal 10, and Drupal 11.
Prerequisite:
- Install and activate the SAML SSO - Identity Provider module on your Drupal site. Click here to check out the module installation step.
Drupal SAML IDP Metadata:
-
After installing the module on your Drupal site, in the Administration menu, navigate to Configuration → People → miniOrange SAML IDP Configuration. (/admin/config/people/miniorange_saml_idp/idp_setup)

-
Under the IDP Metadata tab, click the Download Metadata button to obtain the metadata. Open the downloaded XML file in notepad and then copy it. (This will be needed to configure SAP Litmos as SAML SP.)

Configure SAML SSO Application in SAP Litmos:
- Login into your SAP Litmos account using Admin Credentials.
-
Click on the Profile Icon in the right upper corner, then select Switch to admin view.

-
Navigate to Account → Integrations.

-
Now, select SAML 2.0 (Single Sign On).

- Provide the previously copied metadata from the Drupal website.
Exclude the following first line of the metadata as Litmos gives an error if it is included in the metadata:
<?xml version="1.0" encoding="UTF-8"?> - Keep the Autogenerate Users option enabled in SAP Litmos to create users automatically.
-
Click on the Save changes button.

Configure Drupal as SAML Identity Provider (IdP):
-
Navigate to the Drupal site and switch to the Service Provider Setup tab of the miniOrange SAML IDP module and click on the Upload SP metadata to expand it.

-
Now paste the metadata URL in Add from a URL text field which is provided by SAP Litmos. Click the Fetch Metadata button.

- Scroll down and click on Save Configuration button.
-
Click on the Test link to check the connection between SAP Litmos and Drupal. You will redirect to SAP Litmos dashboard.

You have successfully set up SAP Litmos as Service Provider and Drupal as Identity Provider.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion