Single Sign-On in Moodle using Joomla IDP allows users to log in to Moodle using Joomla by
configuring Moodle 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 Moodle?
Moodle is a Learning Management System (LMS) designed to provide educators, administrators and learners with a
single robust, secure and integrated system to create personalized learning environments.
Pre-requisites: Download
And Installation
Install Joomla IDP Plugin
- Download the zip file for the miniOrange Joomla IDP plugin.
- Log into your Joomla site’s administrator console.
- From left toggle menu, click on System, then under Install section click on
Extensions.
- Upload the downloaded zip file to install the Joomla IDP plugin.
- Installation of the plugin is successful. Now click on Start Using miniOrange SAML IDP Plugin
to configure miniOrange
Joomla IDP plugin.
Steps to configure Moodle SSO
with Joomla as IDP.
1. Configure Moodle as
Service Provider
- 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.
- Log in to your Moodle administrator account.
- To configure Joomla as IDP with Moodle, you will need to install the miniOrange SAML 2.0 SSO plugin.
- Then in the miniOrange SAML SSO plugin, go to the Plugins tab. There are two ways to configure the plugin:
- A. By uploading IDP metadata:
- Enter the IDP Name.
- In the Service Provider Setup section choose Metadata URL/XML from Select the Method dropdown.
- Copy and paste the IDP metadata URL or XML file in IDP Metadata URL/XML
input field.
- Click on the Click here to Test the configuration.
- B. Manual Configuration:
- Provide the required settings (i.e. IDP Name, IDP Entity-ID or Issuer, SAML Login URL, X.509 Certificate) as
provided by your Identity Provider.
- Click on the Click here to Test the configuration.
2. Configure Joomla as
Identity Provider
- Now go to Components miniOrange Joomla IDP Service Provider
- 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. |
- Now click on Advance Mapping tab. Select the NameID Attribute and then click on
Save Button.
You have successfully completed your miniOrange SAML 2.0 IDP configurations.
3. Attribute
Mapping (Premium Feature)
- 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.
You have successfully configured Single Sign-On with Moodle as Service Provider and Joomla as Identity Provider. If
you require any further support or, if you are facing any difficulty please mail us on joomlasupport@xecurify.com
Free Trial
If you would like to test out the plugin to ensure your business use case is fulfilled, we do provide a 7-day trial.
Please drop us an email at joomlasupport@xecurify.com requesting a trial. You can create an account with us using this link.
Additional
Resources.