Nextcloud SAML Single Sign-On (SSO) Integration with Drupal as IdP
Drupal can be set as a centralized identity provider or an authentication source for the users across other
applications via Single Sign-On (SSO). This document will walk you through the steps of integrating Drupal as SAML
2.0 IDP and Nextcloud as a Service Provider (SP) using the miniOrange SAML IDP module. This
will allow you to manage
users and their permissions in a place and at the same time the users can access multiple applications with single
credentials. The module is compatible with Drupal 7, Drupal 8, Drupal 9, and Drupal 10.
Note: You will require a Premium version of the module to configure the Nextcloud as SP and Drupal
Navigate to the Profile Icon from the top right side and click on Apps.
Under the search field, search for SSO & SAML authentication and click on the Download and Enable button.
Again, navigate to the Profile icon and click on Administration settings.
From the left panel, scroll down, and click SSO & SAML authentication, then select Use built-in SAML authentication.
Under Global settings, enable the checkbox Allow the use of multiple user back-ends. (e.g. LDAP)
In General, enter the following information in the corresponding text fields.
Attribute to map the UID to
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.
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
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.
Click on the Download Metadata XML button to download the Nextcloud metadata.
Drupal as SAML Identity Provider (IdP):
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).
Click on the Upload SP Metadata.
Upload the metadata file downloaded from the Nextcloud.
Click on the Test button to test the SSO.
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
Request 7-day trial button of the module or reach out to
us at email@example.com for
one-on-one assistance from Drupal expert.
Setup Multiple Applications (Service Provider) with Drupal
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
If you dont hear from us within 24 hours, please feel free to send a follow up email to firstname.lastname@example.org
This privacy statement applies to miniorange websites describing how we handle the personal
When you visit any website, it may store or retrieve the information on your browser, mostly in the
form of the cookies. This information might be about you, your preferences or your device and is
mostly used to make the site work as you expect it to. The information does not directly identify
you, but it can give you a more personalized web experience.
Click on the category headings to check how we handle the cookies.
Strictly Necessary Cookies
Necessary cookies help make a website fully usable by enabling the basic functions like site
navigation, logging in, filling forms, etc. The cookies used for the functionality do not store any
personal identifiable information. However, some parts of the website will not work properly without
These cookies only collect aggregated information about the traffic of the website including -
visitors, sources, page clicks and views, etc. This allows us to know more about our most and least
popular pages along with users' interaction on the actionable elements and hence letting us improve
the performance of our website as well as our services.