SAML Single Sign-On into Joomla using ADFS | ADFS SSO | Login using ADFS




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 org, they can automatically access all apps from the App Launcher. 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.

SAML allows exchanging of information between Service Provider and Identity provider, SAML is integration between SP and IDP. When a user tries to log in, your identity provider sends SAML assertions containing facts about the user to Identity Provider. Identity Provider receives the assertion, validates it against your Identity Provider configuration, and allows the user to access your org.




Miniorange Single Sign-On (SSO) provides basic, standard and premium plan.



Step 1: Setup Active Directory Federation Services (ADFS) as IDP (Identity Provider)

Follow the steps below to configure ADFS as IdP

miniorange img Configure ADFS as IdP

  • On ADFS, search for ADFS Management application.
  • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - Admin_Dashboard
  • After opening the AD FS Management, select Relying Party Trust & then click on Add Relying Party Trust.
  • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - Add Relying Party Trust
  • Click the Start button from the Relying Party Trust Wizard pop up. But before that please make sure Claims aware is selected.
  •  Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - Claims Aware
  • Select the options for adding a relying party trust.
    • miniorange img Using Metadata URL

      • In Select Data Source: Import data about the relying party published online or on the local network option & then add URL in Federation metadata address (Navigate to Service Provider Info tab from the plugin for getting SP Meatadata URL).
      • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - support for the SAML 2.0 Wizard Metadata
      • Skip step-5 to step-8 & start configuring from step-9.

      miniorange img Using Metadata XML file

      • In Select Data Source: Import data about the relying party from a file option & then browse the metadata file(You can download the SP metadata file from the plugin under the Service Provider Metadata tab).
      • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - for Wizard_metadata file
      • Skip step-5 to step-8 & start configuring from step-9.

      miniorange img Using Manual configuration

      • In Select Data Source: Enter Data about the relying party manually & Click on Next.
      • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - SAML 2.0 Wizard_Metadata manual
  • Enter Display Name & Click Next.
  • Upload the certificate & click Next. Download the certificate from plugin & use the same certificate to upload on ADFS.
  • Select Enable support for the SAML 2.0 WebSSO protocol & Enter ACS URL from the plugins Service Provider Info Tab. Click Next.
  • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - for the SAML 2.0 Wizard_Enable SAML
  • Add Entity ID from plugins Service Provider Info Tab as Relying party trust identifier then click Add button & then click Next.
  • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - SAML 2.0 Wizard_URL
  • Also download the Signing certificate from Service Provider Info Tab from the plugin.
  • Select Permit everyone as an Access Control Policy & click on Next.
  • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - for SAML 2.0 Wizard Multi-Factor
  • Click the Next button from Ready to Add Trust & click Close.
  • It will show you the list of Relying Party Trusts. Select the respective application & click on Edit Claim Issuance Policy.
  • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - SAML 2.0 Wizard Edit Claim
  • Click on Add Rule button.
  • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - for SAML 2.0 Wizard Claim Rule
  • Select Send LDAP Attributes as Claims & click on Next.
  • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - for SAML 2.0 Configure_LDAP Attributes
  • Enter the following details & click on Finish.
  • Claim rule name: Attributes
    Attribute Store: Active Directory
    LDAP Attribute: E-Mail-Addresses
    Outgoing Claim Type: Name ID
    Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - for the SAML 2.0 Add Transform Claim Rule
  • Click Apply and then Ok.
  • Select property of the application & add the certificate downloaded from the add-on.
  • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - for the SAML 2.0 Add Certificate

Windows SSO (optional)

Follow the steps below to configure Windows SSO.

miniorange img Steps to configure ADFS for Windows Authentication

  • Open elevated Command Prompt on the ADFS Server and execute the following command on it:
    • miniorange img setspn -a HTTP/##ADFS Server FQDN## ##Domain Service Account##

      miniorange img FQDN is Fully Qualified Domain Name (Example : adfs4.example.com)

      miniorange img Domain Service Account is the username of the account in AD.

      miniorange img Example : setspn -a HTTP/adfs.example.com username/domain

  • Open AD FS Management Console and go to Authentication Policies section, edit the Global Authentication Policies. Check Windows Authentication in Intranet zone.
  • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - Management Application
  • Open Internet Explorer. Navigate to Security tab in Internet Options.
  • Add the FQDN of AD FS to the list of sites in Local Intranet and restart the browser.
  • Select Custom Level for the Security Zone. In the list of options, select Automatic Logon only in Intranet Zone.
  • Configure ADFS as IDP -SAML Single Sign-On(SSO) for Joomla - ADFS SSO Login - for the SAML 2.0 Wizard_Enable SAML
  • Open the powershell and execute following two commands to enable windows authentication in Chrome browser.
    • miniorange img Set-AdfsProperties -WIASupportedUserAgents ((Get-ADFSProperties | Select -ExpandProperty WIASupportedUserAgents) + "Chrome")

      miniorange img Get-AdfsProperties | Select -ExpandProperty WIASupportedUserAgents

  • You have configured ADFS for Windows Authentication. Now to add Relying Party for your Joomla you can follow these steps.

Step 2: Configuring Joomla as Service Provider (SP)

  • In Joomla SAML plugin, go to Service Provider Setup Tab. There are three ways to configure the plugin:

      Azure_As_Idp By Metadata URL :

      • Click on Upload IDP Metadata.
      • Joomla SAML SP Upload Metadata
      • Enter Metadata URL (Copy from IDP app) and click on Fetch Metadata.
      • Joomla SAML SP Upload Metadata URL

      Azure_As_Idp By Uploading Metadata File:

      • Click on Upload IDP Metadata.
      • Joomla SAML SP Upload Metadata
      • Choose metadata file and click on Upload.
      • Joomla SAML SP Upload Metadata file

      Azure_As_Idp Manual Configuration :

      • 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 x.509 Certificate in the Federation Metadata document

      Azure_As_Idp Add a button on your site login page with the following URL:

      Joomla 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 (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.
    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 Identity Provider(IdP)
  • Joomla SAML SP 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 (IdP).
  • While auto registering, the users are assigned roles based on the group they are mapped to.
  • Joomla SAML SP 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.
  • Joomla SAML SP Signin Settings

    You have successfully completed your miniOrange SAML 2.0 SP configurations. Still, if you are facing any difficulty please mail us on joomlasupport@xecurify.com .

Step 2: Configuring Joomla as Service Provider (SP)

  • In Joomla SAML plugin, go to Service Provider Setup Tab. There are three ways to configure the plugin:

      Azure_As_Idp By Metadata URL :

      • Click on Upload IDP Metadata.
      • Joomla SAML SP Upload Metadata
      • Enter Metadata URL (Copy from IDP app) and click on Fetch Metadata.
      • Joomla SAML SP Upload Metadata URL

      Azure_As_Idp By Uploading Metadata File:

      • Click on Upload IDP Metadata.
      • Joomla SAML SP Upload Metadata
      • Choose metadata file and click on Upload.
      • Joomla SAML SP Upload Metadata file

      Azure_As_Idp Manual Configuration :

      • 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 x.509 Certificate in the Federation Metadata document

      Azure_As_Idp Add a button on your site login page with the following URL:

        Joomla 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 (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.
    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 Identity Provider(IdP)
  • Joomla SAML SP 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 (IdP).
  • While auto registering, the users are assigned roles based on the group they are mapped to.
  • Joomla SAML SP 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.
  • Joomla SAML SP Signin Settings

    You have successfully completed your miniOrange SAML 2.0 SP configurations. Still, if you are facing any difficulty please mail us on joomlasupport@xecurify.com .

Why companies uses ADFS:-


Using Active Directory (AD) in the connected online world creates authentication challenges. AD cannot authenticate users who try to access integrated applications externally. In the modern workplace, users often need to access applications that are not owned or managed by their organization’s AD. ADFS is able to resolve and simplify these third-party authentication challenges.
ADFS allows users from one organization to access applications of partner organizations using the standard credentials of their organization’s Active Directory (AD). ADFS also lets users access AD-integrated applications while working remotely using their standard organizational AD credentials via a web interface. When establishing a partnership to use another organization’s web applications, ADFS provides a central place to manage and audit the employee identity information that is shared with their organization’s partners. Over 90% of organizations use Active Directory, which means many use ADFS as well.

What is the use of the configuration or integration with SAML SSO?


Miniorange Provides best SAML Single Sign-On (SSO) solution to Active Directory Federation Services. SSO reduces the number of attack surfaces because users only log in once each day and only use one set of credentials. Reducing login to one set of credentials improves enterprise security. When employees have to use separate passwords for each app, they usually don't.
Single Sign-On (SSO) is a highly secure user authentication process. SSO lets the users access multiple applications with a single account credential and sign out instantly with one click. Mini orange Joomla plugin supports SSO. To provide single sign-on services for your domain, Joomla acts as a service provider (SP) through the SAML (Secure Assertion Markup Language) standard.
ADFS [SAML] Single Sign-On (SSO) login for Joomla can be achieved by using our Joomla SAML SP Single Sign-On(SSO) plugin. Our plugin is compatible with all the SAML compliant Identity providers. Here we will go through a step-by-step guide to configure SAML SSO login between the Joomla site and ADFS

How miniorange Joomla SAML SSO plugin works?


SAML 2.0 SP Single Sign On ( SAML SSO) - Service Provider Plugin acts as a SAML 2.0 Service Provider which can be configured to establish the trust between the Joomla site and various SAML 2.0 supported Identity Providers to securely authenticate (Secure Login) the user to the Joomla site.
SAML 2.0 SP Single Sign On (SSO) - Service Provider plugin also provides Cross-Domain / Sub-domain login sharing with other Joomla websites.
We also provide a separate plugin that enables Joomla to act as an Identity Provider. It supports authentication with Joomla, user management, session management, change password, etc. You can configure any service provider with your Joomla site with the help of this plugin.

SSO with ADFS :-


Active Directory Federation Service (ADFS) is a software component developed by Microsoft to provide Single Sign-On (SSO) authorization service to users on Windows Server Operating Systems. ADFS allows users across organizational boundaries to access applications on Windows Server Operating Systems using a single set of login credentials.

ADFS makes use of claims-based Access Control Authorization model to ensure security across applications using the federated identity. Claims-based authentication is a process in which a user is identified by a set of claims related to their identity. The claims are packaged into a secure token by the identity provider.



Trial Free

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

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com