SAML Single Sign On (SSO) for Joomla Using Office 365 as IDP

Office 365 as IDP (Azure AD) Single Sign On (SSO) For Joomla miniOrange provides a ready to use solution for Joomla. This solution ensures that you are ready to roll out secure access to your Joomla site using Office 365 as IDP Azure AD within minutes.

Step 1: Configuring Office 365 (Azure AD) as Identity Provider (IdP)

  • Go to and login into Azure AD .
  • Log into Azure AD Admin Console.
  • Click on Azure Active Directory
  • Office 365 as IDP, Directory-path
  • Click on App Registration -> New Registrations
  • Office 365 as IDP, New-App-registration
  • Enter the Application Name and enter Redirect URI (ACS URL from Joomla SP Plugin from Service Provider Metadata Tab) then Click on Register.
  • Office 365 as IDP, Application-Details
  • Click on API Permissions -> Add Permission then select API as Office 365 Management APIs
  • Office 365 as IDP, Select-365
  • Select the ActivityFeed.Read
  • Office 365 as IDP, API-permission
  • Click on Overview -> Endpoints and copy the Federation metadata document URL
  • Office 365 as IDP, Endspoint

Step 2: Configuring Joomla as Service Provider (SP)

  • In miniOrange SAML plugin, go to Service Provider Setup Tab. There are two ways to configure the plugin with your IDP (Office 365 (Azure AD)-idp):
    • Office 365 as IDP,  bullets By Uploading Office 365 (Azure AD) Metadata.xml file(Recommended):

        1. Click on Upload IDP Metadata to upload your IDP(Office 365 (Azure AD)-idp) metadata.

        Office 365 as IDP, Service-Provider 2. Choose metadata file and click on Upload.

        Office 365 as IDP, Fetch-Metadata

      Office 365 as IDP,bullets Manual Configuration :

      • In miniOrange SAML plugin, go to Service Provider Setup Tab. Enter the following values:
        IDP Entity ID Identity Provider Issuer from Office 365 (Azure AD) Setup Instructions
        Single Sign-On Service URL Identity Provider Single Sign-On URL from Office 365 (Azure AD)-idp Setup Instructions
        X.509 Certificate X.509 Certifiacate from Office 365 (Azure AD) Setup Instructions

      Office 365 as IDP, bullets  Add a button on your site login page with the following URL:

        Office 365 as IDP, SAML SP Signin Settings

Step 3: Attribute Mapping (It is Optional to fill this). This is Premium feature.

  • Attributes are user details that are stored in your Identity Provider.
  • Attribute Mapping helps you to get user attributes from your Identity Provider (Office 365 (Azure AD)-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 miniOrange SAML plugin, go to Attribute Mapping tab and fill in all the fields.
    Username: Name of the username attribute from IdP (Keep NameID by default)
    Email: Name of the email attribute from IdP (Keep NameID by default)
    Group/Role: Name of the Role attribute from your Identity Provider (Office 365 (Azure AD)-idp)
  • Office 365 as IDP, Attribute-Mapping
  • You can check the Test Configuration Results under Service Provider Setup tab to get a better idea of which values to map here.

Step 4: Group Mapping (It is Optional to fill this). This is Premium feature.

  • Joomla uses a concept of Roles, designed to give the site owner the ability to control what users can and cannot do within the site.
  • Role mapping helps you to assign specific roles to users of a certain group in your Identity Provider ( Office 365-idp).
  • While auto registering, the users are assigned roles based on the group they are mapped to.
  • Office 365 as IDP, Group-Mapping

Step 5: 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.
  • Office 365 as IDP,Signin-Settings

You have successfully Installed and Configured plugin

Business Trial For Free

If you don't find what you are looking for, please contact us at or call us at +1 978 658 9387.