SSO setup with LearnWorlds using Drupal IdP
This guide will help you in configuring SAML IDP 2.0 Single Sign On (SSO), which allows you to integrate LearnWorlds as a Service Provider and Drupal as an Identity Provider. By following these steps, you can enable SAML Single Sign On, which allows users to sign into LearnWorlds 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. Follow these steps to install the module.
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, copy the IDP Entity ID or Issuer, SAML Login URL, and X.509 Certificate. Keep it handy. (This information is required to configure LearnWorlds as SAML SP.)

Configure SAML SSO Application in LearnWorlds
-
Log in to your LearnWorlds administration account. On the left, select Site builder -> Sign in/up.

-
Click on SAML and select the Activate checkbox.

-
Provide the appropriate information in the SAML tab of the LearnWorlds (E-learning platform) from the IDP Metadata tab of the module.
LearnWorlds Field Identity Provider Information (Drupal) IDP Identifier (Entity ID) IDP Entity ID or Issuer Sign-on URL SAML Login URL Identity Provider Certificate X.509 Certificate 
-
Then, copy the Service Provider (SP) URL and Assertion Consumer Service (ACS) URL. Keep it handy. This is required to configure Drupal as Identity Provider (IdP).

-
Click on the Save button.

Configure Drupal as SAML Identity Provider (IdP):
- Go to your Drupal site. Navigate to the Service Provider Setup tab of the module.
- Enter the Service Provider Name as LearnWorlds.
-
Copy the appropriate information from the SAML tab of the LearnWorlds (E-learning platform) and paste it into the corresponding text field. Then, click on Save Configuration button.
Drupal Field Service Provider Information (LearnWorlds) SP Entity ID or Issuer Service Provider (SP) URL ACS URL Assertion Consumer Service (ACS) URL 
You have successfully set up LearnWorlds as Service Provider and Drupal as an Identity Provider (IdP).
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