Search Results :

×

Nextcloud 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 Nextcloud 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
  • After the successful module installation, navigate to the Configuration → People → Drupal SAML IDP Configuration.
Drupal-SAML-IDP-Single-Sign-On-Click-on-Drupal-SAML-IDP-Configuration
  • From the IDP Metadata tab, copy the IDP-Entity ID/Issuer and SAML Login URL. Optionally, download the Certificate (open in Notepad and copy). Keep these for configuring Nextcloud as a SAML SP.
Drupal-SAML-IDP-Single-Sign-On-Copy-the-metadata
  • Login to your Nextcloud Web interface as admin.
  • Navigate to the Profile Icon from the top right side and click on Apps.
Nextcloud-SAML-Single-Sign-On-Navigate-to-profile-and-click-on-Apps
  • Under the search field, search for SSO & SAML authentication and click on the Download and Enable button.
Nextcloud-SAML-Single-Sign-On-Search-SSO-and-SAML
  • Again, navigate to the Profile icon and click on Administration settings.
Nextcloud-SAML-Single-Sign-On-Administration-Settings
  • From the left panel, scroll down, and click SSO & SAML authentication, then select Use built-in SAML authentication.
Nextcloud-SAML-Single-Sign-On-Use-built-and-SAML-Authetication
  • Under Global settings, enable the checkbox Allow the use of multiple user back-ends. (e.g. LDAP)
Nextcloud-SAML-Single-Sign-On-Enable-checkbox-to-allows-to-multiple-use
  • In General, enter the following information in the corresponding text fields.
  • Attribute to map the UID to Email
    Optional display name of the identity provider (default “SSO & SAML log in”) Enter the Application name as Drupal
  • Provide the appropriate information in the Configure your IdP settings section of the Nextcloud Application from the IDP Metadata tab of the module.
  • Nextcloud Field Identity Provider Information (Drupal)
    Identifier of the IdP entity IDP-Entity ID / Issuer
    URL Target of the IdP where the SP will send the Authentication Request Messag SAML Login URL
Nextcloud-SAML-Single-Sign-On-Provide-your-IdP-Information-here
  • Click Show optional Identity Provider settings, then paste the copied Certificate (from the Drupal site) into the Public X.509 certificate of the IdP textfield.
Nextcloud-SAML-Single-Sign-On-Paste-the-IdP-X-509-Certificate
  • Click on the Download Metadata XML button to download the Nextcloud metadata.
Nextcloud-SAML-Single-Sign-On-Click-on-Download-metadata-xml
  • Head towards the Drupal site and navigate to the Service Provider Setup tab of the miniOrange SAML IDP module ( /admin/config/people/miniorange_saml_idp/sp_setup). (/admin/config/people/miniorange_saml_idp/sp_setup)
  • Click on the Upload SP Metadata.
Drupal-SAML-IDP-Select-Upload-Metadata
  • Upload the metadata file downloaded from the Nextcloud.
Drupal-SAML-IDP-Upload-Metadata
  • Click on the Test button to test the SSO.
Drupal-SAML-IDP-Select-Test-Configure
  • If the Test is successful, a new window will appear in which you will be logged in to the Nextcloud dashboard.
  • You have successfully configured the SAML SSO between Nextcloud as SAML SP and Drupal as SAML IDP.

    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