Search Results :

×

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


ADFS SAML Single sign-on (SSO) is an authentication method that enables ADFS users to access multiple Joomla applications with one login and one set of credentials.

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.


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 Joomla site and ADFS by considering ADFS as IdP (Identity Provider & Joomla as SP (Service Provider).

Pre-requisites : Download And Installation



Configuration Support and Free Trial

If you want support in configuring the plugin, or to integrate ADFS with Joomla, click on Free Configuration Setup button.

We provide a 7 day full feature trial wherein you can fully test out all the features of the plugin, click on Free Business Trial button.

Steps to Integrate ADFS Single Sign-On (SSO) with Joomla SAML SP

1. Configure ADFS (Active Directory Federation Services) as IdP

  • On ADFS, search for ADFS Management application.
  • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - Admin_Dashboard
  • After opening the AD FS Management, select Relying Party Trust & then click on Add Relying Party Trust.
  • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - 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.
  • ADFS SAML SSO, Single Sign-On, login using ADFS, Integration with ADFS SAML SSO  - 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 Metadata tab from the plugin for getting SP Meatadata URL).
      • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - support for the SAML 2.0 Wizard Metadata
      • If you have metadata URL then you can skip below steps of Import mentadata file and enter data manually, then start configuring from this step..

      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).
      • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - for Wizard_metadata file

      miniorange img Using Manual configuration

      • In Select Data Source: Enter Data about the relying party manually & Click on Next.
      • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - 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 Metadata Tab. Click Next.
  • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - for the SAML 2.0 Wizard_Enable SAML
  • Add Entity ID from plugins Service Provider Metadata Tab as Relying party trust identifier then click Add button & then click Next.
  • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - SAML 2.0 Wizard_URL
  • Also download the Signing certificate from Service Provider Metadata Tab from the plugin.
  • Select Permit everyone as an Access Control Policy & click on Next.
  • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - 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.
  • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - SAML 2.0 Wizard Edit Claim
  • Click on Add Rule button.
  • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - for SAML 2.0 Wizard Claim Rule
  • Select Send LDAP Attributes as Claims & click on Next.
  • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - 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
    ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - 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.
  • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - for the SAML 2.0 Add Certificate
  • You can download your ADFS metadata, using following URL. You can use this metadata URL in the Service Provider Setup tab.
  • { <https://Your-Domain/federationmetadata/2007-06/federationmetadata.xml> }

* Windows SSO (optional)

ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, Steps to configure ADFS for Windows Authentication

  • Open elevated Command Prompt on the ADFS Server and execute the following command on it:
    • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, setspn -a HTTP/##ADFS Server FQDN## ##Domain Service Account##

      Configure ADFS a
                    s IDP -SAML - ADFS SSO Login FQDN is Fully Qualified Domain Name (Example : adfs4.example.com)

      ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, Domain Service Account is the username of the account in AD.

      ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, 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.
  • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - 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.
  • ADFS SAML Single Sign-On SSO into Joomla | login using ADFS, - for the SAML 2.0 Wizard_Enable SAML
  • Open the powershell and execute following two commands to enable windows authentication in Chrome browser.
    •          Set-AdfsProperties -WIASupportedUserAgents ((Get-ADFSProperties | Select -ExpandProperty WIASupportedUserAgents) + "Chrome")
             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.

2. Configure Joomla as Service Provider

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

    SAML SSO Single-Sign-On By Metadata URL :

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

    SAML SSO Single-Sign-On By Uploading Metadata File:

    • Click on choose metadata file and click on Upload.
    • Joomla Single Sign On SSO SAML SP, Upload Metadata file

    SAML SSO Single-Sign-On 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
      manual Configuration

  • Click on Test Configuration.
  • Joomla Single Sign On SSO SAML SP, Upload Metadata file Joomla Single Sign On SSO SAML SP, Upload Metadata file

3. Attribute Mapping - Premium Feature (Included with Business Trial)

  • 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)
  • 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.
  • You can refer the following video for Attribute Mapping.

4. Group Mapping - Premium Feature (Included with Business Trial)

  • 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.
  • You can refer the following video for Group Mapping.
  • Joomla Single Sign On SSO SAML SP Group Mapping

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 Single Sign On SSO 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 .

Recommended Add-Ons

User Sync SCIM Provisioning

Synchronize users, groups & directory with SCIM & REST APIs for Server.




Know More
login using aws into joomla page restriction

Page Restriction

Page Restriction plugin restricts Joomla pages (Articles) based on User Roles and User's Login Status.



Know More
integrate with community builder customer

Integrate with Community Builder Customer

Using this Add-on you would be mapping the user details into the CB's comprofilers fields table which contains the values.


Know More

Additional Resources.

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.

Business Trial

If you want Business Trial for FREE Click Here

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