Search Results :

×

Moodle SAML Single Sign-On (SSO) Integration with Drupal as IdP

This guide will help you integrate Drupal as a SAML 2.0 Identity Provider (IdP) and Moodle as a Service Provider (SP) using the miniOrange SAML IDP module. This integration enables centralized user management and permission control, allowing users to access multiple applications with a single set of credentials. The module is compatible with Drupal 7, Drupal 8, Drupal 9, Drupal 10, and Drupal 11.

  • Download the module:
    Composer require 'drupal/miniorange_saml_idp'
  • Navigate to Extend menu on your Drupal admin console and search for miniOrange SAML Identity Provider using the search box.
  • Enable the module by checking the checkbox and click on install button.
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_saml_idp/idp_setup
  • Install the module:
    drush en miniorange_saml_idp
  • Clear the cache:
     drush cr
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_saml_idp/idp_setup
  • Navigate to Extend menu on your Drupal admin console and click on Install new module button.
  • Install the Drupal SAML IDP 2.0 Single Sign On (SSO) - SAML Identity Provider module either by downloading the zip or from the URL of the package (tar/zip).
  • Click on Enable newly added modules.
  • Enable this module by checking the checkbox and click on install button.
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_saml_idp/idp_setup
  • Download the plugin from the Moodle Plugin Directory and install it in the Moodle referring to the steps below:
    • Login as administrator in Moodle.
    • Navigate to the Site Administrator → Plugins → Install plugins. In Plugin installer → beside the ZIP package → click on Choose a file.
    • A File Picker window will appear on the left side. Select Upload a file and then click on the Choose File button. (upload the zip file that you downloaded from the Moodle Plugins Directory)
    • Click on the Upload this File button.
  • Click the Install the plugin from the ZIP file button and then click on the Continue button to proceed.
  • Click on the Upgrade Moodle database now button, and then click on the Continue button.
  • 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)
Drupal-SAML-IDP-Single-Sign-On-Click-on-Drupal-SAML-IDP-Configuration
  • Under the IDP Metadata tab, click on the Download Metadata button. Open it on the notepad and copy the IdP information. Keep it handy. (This information is required to configure Moodle as SAML SP.)
Drupal-SAML-IDP-Single-Sign-On-download-the-metadata
  • Log in to your Moodle administrator account.
  • Navigate to the Site administrator → Plugins → Plugins overview → Additional plugins.
  • Click on the Settings link under Actions.
Moodle-Single-Sign-On-Administration-Plugins-overview-click-on-Settings
  • Under the Service Provider Metadata tab click on the DOWNLOAD link to download the XML metadata file. Keep it handy. This is required to configure Drupal as a SAML Identity Provider (IdP).
Moodle-SAML-Single-Sign-On-click-on-download-metadata
  • Go to the Service Provider Setup tab of the plugin and click on the Upload IdP Metadata button.
Moodle-Single-Sing-on-Click-on-Upload-IdP-Metadata-btn
  • Enter the Identity Provider Name. Paste the previously copied IdP metadata file from Drupal into the IdP Metadata XML text field and click on the Upload Metadata button.
Moodle-SAML-Single-Sign-on-paste-the-IdP-metadata-file-in-the-field
  • Navigate to the Drupal site. Go to the Service Provider Setup tab of the module and click on the Upload SP Metadata.
  • In the Upload Metadata field, choose the SP metadata file that you downloaded from Moodle and click on the Upload button.
Drupal-SAML-IDP-Upload-Metadata

    You have successfully configured the SAML SSO between Nextcloud as SAML SP and Drupal as SAML IDP.

  • Navigate to your Moodle site.
  • In the Moodle dashboard → Site administration → Plugins → Plugins Overview → Additional plugins → Settings.
  • Go to the plugin's Service Provider Setup tab. Scroll down and click on the Test Configuration button.
Moodle-SAML-Single-Sign-on-click-on-test-configuration-button
  • On a Test Configuration popup, sign in with Drupal site credentials (if the user session does not exist). After successful authentication, the list of attributes received from the Drupal site will be displayed.
  • Click on the Done button.
Moodle-test-configuration-window-received-attribute-from-the-Drupal

Explore the advanced features offered by the module with full-featured trial. You can initiate the trial request using Request 7-day trial button of the module or reach out to us at drupalsupport@xecurify.com for one-on-one assistance from Drupal expert.

 Case Studies
miniOrange has successfully catered to the use cases of 400+ trusted customers with its highly flexible/customizable Drupal solutions. Feel free to check out some of our unique case studies using this link.
 Other Solutions
Feel free to explore other Drupal solutions that we offer here. The popular solutions used by our trusted customers include 2FA, User Provisioning, Website Security. 
  24*7 Active Support
The Drupal developers at miniOrange offer quick and active support for your queries. We can assist you from choosing the best solution for your use case to deploying and maintaining the solution.
ADFS_sso ×
Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com