Search Results :

×

SAML Single Sign-On (SSO) into Nextcloud using Joomla IDP Plugin

Single Sign-On in Nextcloud using Joomla IDP allows users to log in to Nextcloud using Joomla by configuring Nextcloud as a Service Provider (SP) and Joomla as a SAML Identity Provider (IDP). This guide will take you through a step-by-step process to configure SSO between the two platforms.

What is Nextcloud?
Nextcloud is an open-source, self-hosted file sync and share server solution. It allows individuals and organizations to store and synchronize files, collaborate on documents, and manage data securely. Nextcloud provides features similar to popular cloud storage services but offers greater control over data privacy and security because it can be hosted on-premises or on a private server.

  • Login into your Joomla site’s Administrator console.
  • From left toggle menu, click on System, then under Install section click on Extensions.
  • Now click on Or Browse for file button to locate and install the plugin file downloaded earlier.
Install Joomla SAML IDP Plugin

  • Installation of plugin is successful. Now click on Start Using miniOrange SAML IDP Plugin to configure miniOrange Joomla IDP plugin.
Get Started with SAML IDP Setup

  • Go to the miniOrange Joomla IDP plugin, navigate to the Identity Provider tab.
  • Here, you can find the Identity Provider Metadata XML URL/File or endpoints like IDP Entity ID, SAML Login URL, SAML Logout URL (Premium Feature), and Certificate for SP configuration. Download the XML Metadata by clicking on the button as shown below.
Joomla SAML IDP Metadata

In this setup, Joomla serves as the repository for storing users i.e. it will act as the IDP while Nextcloud is where users will log in using their credentials from Joomla where Joomla SAML IDP SSO Plugin will be installed.

  • Log in to your Nextcloud account as Account Admin.
  • Click on the top right corner. Select Apps.
Nextcloud SAML SSO with Joomla | Login in to Nextcloud using Joomla
  • Search for SSO & SAML Authentication. Click on Download and Enable.
Nextcloud SAML SSO with Joomla | Login in to Nextcloud using Joomla
  • Click on the top right corner, and select Settings. Find SSO & SAML Authentication on the left menu bar, and open it.
Nextcloud SAML SSO with Joomla | Login in to Nextcloud using Joomla
  • Click on Use built-in SAML Authentication, click on Add Identity Provider.
Nextcloud SAML SSO with Joomla | Login in to Nextcloud using Joomla
  • Enter the following information into the Nextcloud as Service Provider setup.You can click here to get information.
    Attribute to map the UID to Email
    Identifier of the IDP Entity Copy the IDP Entity ID / Issuer from IDP Metadata tab in Joomla SAML IDP plugin and paste here.
    URL Target of the IDP Copy the SAML Login URL from IDP Metadata tab in Joomla SAML IDP plugin and paste here.
    Certificate Download the Certificate from IDP Metadata tab in Joomla SAML IDP plugin. Open it in notepad. Copy and paste the content here.
Nextcloud SAML SSO with Joomla | Login in to Nextcloud using Joomla
  • Once this is done, click on Download metadata XML to download the SP metadata XML file.
  • Now go to Components -> miniOrange Joomla IDP -> Service Provider.
miniOrange Joomla IDP Service Provider tab

  • Navigate to the Service Provider tab and complete the fields for Service Provider Name, SP Entity ID or Issuer, ACS URL, and NameID Format. Refer to this step to get Service Provider details. Fill in the other fields according to your requirements. Click on Save.

Enter the following values:

Service Provider Name Choose appropriate name according to your choice
SP Entity ID or Issuer Service Provider Entity ID
ACS URL SP Assertion Consumer Service URL
X.509 Certificate (optional) [For Signed Request] Paste certificate value you copied from the Metadata file
NameID Format Select urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
Assertion Signed Checked
Upload SP
    Metadata

  • Now click on Advance Mapping tab. Select the NameID Attribute and then click on Save Button.
Joomla SAML IDP Advance Mapping

  • You have successfully completed your miniOrange Joomla SAML 2.0 IDP configurations.
  • In the miniOrange Joomla IDP plugin, navigate to the Advance Mapping tab.
  • Here, you can configure Custom attribute mapping and also add additional User Attributes.
Joomla Custom Mapping


ADFS_sso ×
Hello there!

Need Help? We are right here!

support