SAML Single Sign-On into Joomla using Azure AD | Login using Azure Active Directory
miniOrange Joomla SAML SP SSO plugin helps you to integrate your Joomla site to Azure AD using SAML 2.0 protocol. The miniOrange Joomla SAML SP Single Sign-on (SSO) plugin is simple to set up Azure AD (Microsoft Azure) SSO into Joomla and enable secure login into Joomla. As a result, users can access multiple Joomla applications with one login after authenticating with their Azure AD IDP credentials.
Our plugin is compatible with Joomla 4 as well as with all the SAML 2.0 compliant Identity Providers.Here we will go through a step-by-step guide to configure SAML SSO login between the Joomla site and Azure AD by considering Azure AD as IDP (Identity Provider) & Joomla as SP (Service Provider).
What is SSO ?
Single sign-on (SSO) is an authentication method that enables users to access multiple applications with one-click login and one set of credentials. For example, after users log in to your Joomla site, they can automatically access all resources of the Joomla site. When you set up SSO, you configure one system to trust another to authenticate users, eliminating users' need to log in to each system separately. The system that authenticates users is called an Identity Provider. The system that trusts the Identity Provider for authentication is called the Service Provider.
Your SP then sends a SAML request to IDP when a user attempts to log in. Upon IDP authentication, it sends SAML assertions to the SP that provide information about the user. The assertion is received by SP, which then verifies it in accordance with the Identity Provider configuration and grants the user access to your Joomla website.
This detailed Handbook for the Joomla SAML SP Single Sign On plugin gives an in-depth explanation of the features of the plugin.
Configuration Support and Free Trial
If you want any assistance or support while configuring a plugin or integrating Azure AD with Joomla, then click on the Free Configuration Setup button.
We provide a 7-day full feature trial of our license version of the plugin where you can thoroughly test out all the features of the plugin on your site. Click on the Free Business Trial button if you want us to set up the trial for you.
Click on App Registrations, then click on New Registration.
Assign a Name and choose the account type to your Application. In the Redirect URI field, provide the ACS URL provided in Service Provider metadata tab of the plugin and then click on Register button.
Now, navigate to Expose an API from left menu panel and click the Set
button to replace the APPLICATION ID URI with the plugin's SP Entity ID.
Here, enter the SP Entity ID value from the Service Provider Metadata tab of the plugin. NOTE: Please ensure that the SP Entity ID value from the Service Provider Metadata tab
doesn't have a trailing slash('/'). If SP Entity ID has a trailing slash then update it by
removing the trailing slash from the SP EntityID / Issuer field under the Service Provider
Metadata tab of the plugin, enter the updated value at Azure end and click on the Save button.
Go back to Azure Active Directory ⇒ App Registrations window
and click on Endpoints link.
This will navigate up to a window with multiple URLs.
Copy the Federation Metadata document URL to get the Endpoints required for configuring your Service Provider.
You have successfully configured Azure AD as SAML IdP ( Identity Provider) for achieving Azure AD SSO login into your Joomla Site.
Click on Create your own Application and enter the App name then click on Create button.
Click on the Setup Single sign-on.
Select the SAML tab.
Enter the SP Entity ID for Identifier and the ACS URL for Reply URL from Service Provider Metadata tab of the plugin.
By default, the following Attributes will be sent in the SAML token. You can view or edit the claims sent in the SAML token to the application under the Attributes Step.
Copy App Federation Metadata Url. This will be used while configuring the Joomla SAML plugin.
Assign users and groups to your SAML application
As a security control, Azure AD will not issue a token allowing a user to sign in to the application unless Azure AD has granted access to the user. Users may be granted access directly, or through group membership.
Click on Users and groups from the applications left-hand navigation menu. The next screen presents the options for assigning the users/groups to the application.
After clicking on Add user, Select Users and groups in the Add Assignment screen.
The next screen shows the option to select users or invite external users. You can also assign groups to the application here. Select the appropriate user or group and Click on Select button.
Configure Azure AD Identity Provider with Joomla SAML Service Provider
In Joomla SAML plugin, go to Service Provider Setup Tab, then click on Upload IdP
Enter Metadata URL (Copied from Azure AD) and click on Fetch Metadata.
Click on choose metadata file and click on Upload.
Copy SAML Entity ID, SAML Single-Sign-On Endpoint URL and x.509 certificate from
Federation Metadata document and paste it in IdP Entity ID or Issuer, Single Sign-on Service
URL, x.509 Certificate fields respectively in the plugin.
IdP Entity ID or Issuer
SAML Entity ID in the Federation Metadata document
Single Sign-On Service URL
SAML Single-Sign-On Endpoint URL in the Federation Metadata document
x.509 Certificate in the Federation Metadata document
Click on Test Configuration.
Congratulaions we have successfully configured Joomla SAML Service Provider with Azure AD as Identity Provider.
Attributes are user details that are stored in your Identity Provider.
Attribute Mapping helps you to get user attributes from your Identity Provider (IdP) and map them to Joomla user
attributes like firstname, lastname etc.
While auto registering the users in your Joomla site these attributes will automatically get mapped to your
Joomla user details.
In Joomla SAML plugin, go to Attribute Mapping tab and fill in all the fields.
Name of the username attribute from IdP (Keep NameID by default)
Name of the email attribute from IdP (Keep NameID by default)
Name of the Role attribute from Identity Provider(IdP)
You can check the Test Configuration Results under Service Provider Setup tab
to get a better idea of which values to map here.
Step 5. Group Mapping (It is Optional to fill this). This is Premium feature.
Role mapping helps you to assign specific roles to users of a certain group in your Identity Provider (IdP).
While auto registering, the users are assigned roles based on the group they are mapped to.
Step 6. Redirection & SSO Links.
Go to Login Settings tab. There are multiple features availabe in this tab like Auto redirect the user to Identity Provider and Enable Backed Login for Super Users. To use these features, click on the respective checkboxes.
You have successfully completed your miniOrange SAML 2.0 SP configurations. Still, if you are facing any difficulty please mail us on email@example.com .
miniorange Joomla SAML Single sign-on(web SSO) supports multiple known IDPs like ADFS, Azure AD, Salesforce, Shibboleth, Onelogin, Okta,
SimpleSamlPhp, Google apps, Bitium, OpenAM, miniorange IDP, Centrify and many more.
If you dont hear from us within 24 hours, please feel free to send a follow up email to firstname.lastname@example.org
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.