Drupal Nextcloud SSO | Login to Nextcloud using Drupal as IDP

Drupal Nextcloud SSO Integration will allow you to configure Single Sign On ( SSO ) login between your Drupal site and Nextcloud. Nextcloud SSO integration with your Drupal site will help your users to login into Nextcloud using their Drupal credentials. This SSO setup will also help you to manage your users in one single place. The Drupal SAML IDP module which is compatible with Drupal 7, Drupal 8, and as well as Drupal 9. Here we will go through a step-by-step guide to configure SAML IDP SSO login between Drupal site and Nextcloud considering as SP ( Service Provider ) and Drupal as IDP ( Identity Provider ).

Nextcloud is a suite of client-server software for creating and using file hosting services. Nextcloud’s application functionally is similar to Dropbox. Unlike Dropbox, Nextcloud does not offer off-premises file storage hosting. Nextcloud is free and open-source, which means that anyone is allowed to install and operate it on their own private server devices.

If you have any doubts or queries, you can contact us at drupalsupport@xecurify.com. We will help you to configure the module. If you want, we can also schedule an online meeting to help you configure the Drupal SAML IDP module.

Note: Premium Version is required to set up SSO to Nextcloud.

Follow the Step-by-Step Guide given below for Nextcloud Single Sign On (SSO)

Step 1: Configure Nextcloud as Service Provider

  • Open a new browser tab or window, log in to your Nextcloud account as Account Admin.
  • Click in the top right corner. Select Apps.

  • admin view nextcloud as sp

  • Search for SSO & SAML Authentication. Click on Download and Enable.

  • download saml app nextcloud as sp

  • Click in the top right corner, and select Settings. Find SSO & SAML Authentication on the left Menu bar, and open it.

  • saml selection nextcloud as sp

  • Click on Use built-in SAML Authentication, click on Add Identity Provider.

  • select built-in saml nextcloud as sp
  • Enter the following information into the Nextcloud as service Provider setup.

  • Attribute to map the UID to Email
    Identifier of the IDP Entity Copy the IDP Entity ID / Issuer from IDP metadata tab in Drupal SAML IDP module and paste here.
    URL Target of the IDP Copy the SAML Login URL from IDP metadata tab in Drupal SAML IDP module and paste here.
    Certificate Download the Certificate from IDP metadata tab in Drupal SAML IDP module. Open it in notepad. Copy and paste the content here.

    enter idp info nextcloud as sp

    Once this is done, click on Download metadata XML to download the SP metadata XML file.

Step 2: Configure Drupal as the Identity Provider ( IDP )

  • Go to Drupal SAML IDP module on the Dashboard and select Service Provider Setup tab.

  • Enter the following information into the corresponding fields. Click on Save Configuration.

  • Service Provider Name Nextcloud
    SP Entity ID or Issuer https://<your Nextcloud URL>/index.php/apps/user_saml/saml/metadata
    ACS URL https://<your Nextcloud URL>/index.php/apps/user_saml/saml/acs
    Name ID Format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
    enter sp info Drupal as idp

If you don't find what you are looking for, please contact us at drupalsupport@xecurify.com or call us at +1 978 658 9387 to find an answer to your question about Drupal SAML IDP module.

Hello there!

Need Help? We are right here!

Contact miniOrange Support

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