Drupal ownCloud SSO | Login to ownCloud using Drupal as IdP
Drupal ownCloud SSO Integration will allow you to configure Single Sign On ( SSO ) login between your Drupal site and ownCloud. ownCloud SSO integration with your Drupal site will help your users to login into ownCloud using their Drupal credentials.
This SSO setup will also help you to manage your users in one single place. The Drupal SAML IDP - SAML 2.0 Identity Provider Single Sign-On SSO module is compatible with Drupal 7, Drupal 8 as well as Drupal 9. Here we will go through a step-by-step guide to configure SAML IDP SSO login between ownCloud as SP ( Service Provider ) and Drupal as IDP ( Identity Provider ).
ownCloud is an open-source file hosting application that provides services for business and personal use. It is a flexible tool which manages file and data synchronization. It helps users to store files, folders, contacts, photo galleries, calendars and more on a server of your choice. It is a self-hosted file sync and share server that is all under your control. Content can be shared by defining granular read/write permissions between users and groups. To use the application effectively, you can be logged in into ownCloud using SSO. Single sign-on helps employees save time, prevents lost or forgotten passwords, and reduces the risk of password theft.
To achieving Single Sign-On between Identity Provider (Drupal) and Service Provider ( ownCloud ) both need to supports SAML. ownCloud supports SAML connection, but it is supported in the ownCloud enterprise version. Single Sign-On users can log in to IdP based sites and gain access to ownCloud services. Identity Provider can manage the identity details of users and give the authorization to use the resources of the service provider.
The SAML IDP plugin makes SAML connection between Drupal and ownCloud. miniOrange SAML IDP Plugin is an authentication component that serves identity details to the service provider for on-premise, cloud, and mobile. SAML single sign-on (SSO) compliance makes it possible for users to authenticate through an identity provider when they log in to ownCloud applications. SAML SSO module acts as an Identity Provider which can be configured to build the trust between the module and ownCloud Service Provider. SAML exchanges security and identity-related information such as authorization and authentication. The user can easily log in to ownCloud using their Drupal credentials.
How miniOrange SAML plugin can work for ownCloud?
Steps to configure ownCloud SAML Single Sign-on ( SSO ) Login into Drupal site
1. Configure Drupal as Identity Provider
Go to IDP Metadata tab, Here you can Download XML Metadata file and Metadata URL and Keep it handy to configure your Service Provider (ownCloud Online).
In the miniOrage SAML Identity Provider module, go to Service Provider Setup tab of the module. There are two way to configure Drupal SAML Identity Provider SSO module:
A. By Uploading SP Metadata
Click on UPLOAD SP METADATA link.
Click on Upload Metadata File and click on Upload to fetch your information.
You can either Upload Metadata URLand click on Fetch Metadata button.
B. Manual Configuartion
Provide the required settings (i.e. Service Provider Name, SP Entity ID or Issuer, ACS URL, SAML Logout URL and X.509 Certificate ) find to your Service Provider ownCloud Online as SP and click on Save Configuration button to save your configuration. Then scroll down and click on Test Configuration button to redirect your Service Provider login page (ownCloud Online).
Service Provider Name
ownCloud(You can enter any name)
SP Entity ID or Issuer
ownCloud Entity ID
ownCloud ACS URL
Single Logout URL
Single Logout URL of the ownCloud.
X.509 Certificate (optional)[For Signed Request]
Paste X.509 Certificate from STEP 1 for Signed Request.
Select NameID format for ownCloud
ownCloud signed Assertion.
2. Configure ownCloud as Service Provider
There are two ways to setup the ownCloud. You can either import the metadata url of the IdP or provide individual values required by the ownCloud from Drupal Identity Provider (module). You can find both under IDP METADATA tab in the module.
Here is an example of setting up ownCloud as a Service Provider.
Under Security Settings go to Setup up single sign-on (SSO) settings.
You will need to provide the following information in ownCloud from the plugin’s IDP METADATA Tab under the Setup SSO with Third party Identity Provider Section:
Sign-in page URL
SAML Login URL from the IDP METADATA Tab.
Sign-out page URL
SAML Logout URL from the IDP METADATA Tab.
Upload the certificate from the IDP METADATA Tab
3. Attribute Mapping
If your Service Provider needs an extra user attributes or custom attributes to be sent in the SAML response then you can configure this under the Attribute/Role Mapping Tab.
24*7 Active Support
If you face any issues or if you have any questions, please feel free to reach out to us at email@example.com. In case you want some additional features to be included in the module, please get in touch with us, and we can get that custom-made for you.
Also, If you want, we can also schedule an online meeting to help you configure the Drupal SAML Identity Provider - SAML IDP SSO Login modules or call us at +1 978 658 9387.
If you would like to test out the module to ensure your business use case is fulfilled, we do provide a 7-day trial. Please drop us an email at firstname.lastname@example.org requesting a trial. You can create an account with us using this link.
If you dont hear from us within 24 hours, please feel free to send a follow up email to email@example.com
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.