SSO setup with SAP Litmos using Drupal IdP

Last updated on
12 March 2026

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:

Drupal SAML IDP Metadata:

  • After installing the module on your Drupal site, in the Administration menu, navigate to ConfigurationPeopleminiOrange SAML IDP Configuration. (/admin/config/people/miniorange_saml_idp/idp_setup)

    Configuration-Drupal-Select-miniOrange-SAML-IDP-Configuration

  • 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.)

    Drupal-Download-Meta-Data

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.

    SAP-Litmos-switch-Admin-View

  • Navigate to Account Integrations.

    SAP-Litmos-select-Integrations

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

    SAP-Litmos-select-SAML-2.0.

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

    SAP-Litmos-Paste-Metadata

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.

    Drupal-SAML-IDP-Select-Upload-Metadata

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

    Drupal-Paste-SP-Metadata

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

    Only local images are allowed.

You have successfully set up SAP Litmos as Service Provider and Drupal as Identity Provider.

Contact our 24*7 support team

Feel free to reach out to our Drupal experts if you need any sort of assistance in setting up SAML Single Sign-On (SSO) on your Drupal site.

Get In Touch With Us Join Our Slack Channel

back to top Back to top

Help improve this page

Page status: No known problems

You can: