Joomla SAML Single Sign-On (SSO) Integration with Drupal as IdP
Overview
This guide will help you integrate Drupal as a SAML 2.0 Identity Provider (IdP) and Joomla 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. This module is compatible with Drupal 7, Drupal 8, Drupal 9, Drupal 10, and Drupal 11.
Installation Steps
- Using Composer
- Using Drush
- Manual Installation
Configuration Steps
Obtain SAML IDP Metadata from Drupal:
- Once the module is installed, navigate to the Configuration tab from the top navigation bar and click on the miniOrange SAML IDP Configuration.
- Navigate to the IDP Metadata tab. Copy the Metadata URL
Configure Joomla as Service Provider
- Login with your Joomla Administrator Account credentials.
- Go to System tab.
- Select Extension from the Install section.
- Click on Install from Web.
- Search for SAML SP in search box and select SAML SSO for Joomla plugin.
- Click on Install button to enable the plugin into the joomla site.
- In the Components tab from the left menu sidebar and click on miniOrange SAML Single Sign-On then select Service Provider Setup.
- Click on the Upload IDP Metadata, scrolldown and enter the previously copied metadata url from Drupal in the Enter metadata URL textfield.
- Click Fetch button.
- Now, navigate to the Service Provider Metadata tab and copy the metadata url. Keep it handy. It will required to configure Drupal as Identity Provider.
Configuring Drupal as SAML Identity Provider (IdP):
- Go to the Drupal site. Navigate to the Service Provider Setup tab of the miniOrange SAML IDP module.
- Click on the Upload SP Metadata.
- Paste the copied Metadata URLfrom Joomla into the Add from a URL textfield and click on Fetch Metadata button.
- Click on the Test link to check connection between Drupal and Joomla
- If your configurations are correct then you will get the homepage of the Joomla site in the test configuration window.
You have successfully configured the SAML SSO between Joomla as SAML SP and Drupal as SAML IDP.