Search Results :

×

SAML Single Sign-on (SSO Login) into Joomla using Auth0


miniOrange Joomla SAML SP SSO plugin helps you to integrate your Joomla site to Auth0 using SAML 2.0 protocol. Our user-friendly plugin simplifies the process of setting up Single Sign-on (SSO) with Auth0 in Joomla, ensuring a secure login experience. This enables users to access various Joomla sites effortlessly using their Auth0 IDP credentials.

Our plugin is designed to be compatible with Joomla 3, 4 as well as 5 and works seamlessly with all SAML 2.0 compliant Identity Providers. For a detailed overview of the comprehensive features offered by the Joomla SAML SP plugin, please visit our page here. Below, we provide a step-by-step guide on configuring SAML SSO login between your Joomla site and Auth0, with Auth0 serving as the Identity Provider (IDP) and Joomla as the Service Provider (SP).

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. Users can automatically access all resources of the Joomla site once they are login using SSO.
  • The implementation of SSO involves configuring one system to trust another for user authentication, removing the need for users to log in separately to each system. The system that authenticates users is called an Identity Provider. The system that trusts the Identity Provider for authentication is called the Service Provider.
  • When a user initiates a login attempt, the Service Provider sends a SAML request to the Identity Provider. Upon successful IDP authentication, a SAML response containing user information is transmitted back to the Service Provider. Subsequently, the Service Provider verifies SAML response based on the Identity Provider configuration, and grants the user access to your Joomla website.

Pre-requisites: Download And Installation


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

1. Download and setup Joomla SAML SP Plugin

  • Download the zip file for the miniOrange SAML SP plugin for Joomla.
  • Log in to your Joomla site's Administrator console.
  • In the left-hand toggle menu, go to System and then click on Extensions under the Install section.
  • Click on the "Or Browse for file" button to browse and locate the plugin file that you downloaded earlier, then proceed to install it.
  • Install the SAML SP Plugin from your computer
  • The plugin installation has been successfully completed. Next, click on "Get Started!" to proceed.
  • Start Using miniOrange SAML SP plugin
  • Go to the Service Provider Metadata tab and scroll down to copy the SP EntityID and the ACS URL.
  • Copy SP-EntityID and ACS URL

2. Configure Auth0 as Identity Provider

  • Log in to your Auth0 dashboard. Click on Applications.
  • Auth0 SAML Single Sign-On SSO into Joomla | login using Auth0 into Joomla, dashboard
  • Click on Create Application.
  • Auth0 SAML Single Sign-On SSO into Joomla | login using Auth0 into Joomla, application
  • A new window will pop-up. Enter a name for the application and select Regular Web App. Click on Create button.
  • Auth0 SAML Single Sign-On SSO into Joomla | login using Auth0 into Joomla, web app
  • Select the Addons Tab.
  • Auth0 SAML Single Sign-On SSO into Joomla | login using Auth0 into Joomla, addon
  • Enable SAML2 option in the addons. It will open up a Configuration window.
  • Auth0 SAML Single Sign-On SSO into Joomla | login using Auth0 into Joomla, SAML2
  • Enter Application Callback URL, Audience, Recipient and other settings using SP entity ID and ACS URL copied from the plugin as shown below here:
  • Auth0 SAML Single Sign-On SSO into Joomla | login using Auth0 into Joomla, settings
  • Scroll down and click on Enable then click on Save button.
  • Auth0 SAML Single Sign-On SSO into Joomla | login using Auth0 into Joomla, sp identity
  • Go to the Usage tab and click on the Identity Provider Metadata download link. It will download the metadata XML file which you'll need for setting up the SAML plugin.
  • Auth0 SAML Single Sign-On SSO into Joomla | login using Auth0 into Joomla, metadata xml

3. Configure Auth0 with Joomla

In Joomla SAML plugin, go to Service Provider Setup tab. Here are the ways to configure the plugin:

SAML SSO Single-Sign-On By Metadata File:

  • In Joomla SAML plugin, go to Service Provider Setup tab, then click on Upload IDP metadata.
  • Upload the Metadata file (downloaded from Auth0) and click on the Upload button.
  • Upload IDP Metadata

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 URL, X.509 Certificate value fields respectively in the plugin.
IdP Entity ID or Issuer
SAML Entity ID in the Federation Metadata document
Single Sign-On URL
SAML Single-Sign-On Endpoint URL in the Federation Metadata document
X.509 Certificate Value
X.509 Certificate in the Federation Metadata document

    manual Configuration
  • Click on Save button and then Test Configuration button.
  • Save configuration
  • Congratulations! We have successfully configured Joomla SAML Service Provider with Auth0 as Identity Provider.

4. How does SAML SSO login work?

  • Copy the SSO URL from the Service Provider Setup tab.
  • Auth0 SAML Single Sign-On SSO into Joomla | Login Using Auth0
  • Open a new browser/private window and enter the copied SSO URL.
  • You will be redirected to the Auth0 login page. Enter the Auth0 credentials. After successful authentication, the user will be redirected back to the Joomla site.

5. Attribute Mapping - Licensed feature.

  • Attributes are user details that are stored in your Identity Provider. To learn more about Attribute Mapping, click here.
  • Attribute Mapping helps you to get user attributes from your Identity Provider (IDP) and map them to Joomla user attributes like firstname, lastname, address, phone etc.
  • 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)
    First Name:
    Name of the first name attribute from IdP
    Last Name:
    Name of the last name attribute from IdP
  • You can check the Test Configuration Results under Service Provider Setup tab to get a better idea of which values to map here.
  • Attribute Mapping

Step 6. Group Mapping - Licensed feature.

  • Group/Role mapping helps you to assign specific roles to users of a certain group in your Identity Provider (IdP). To learn more about Group Mapping, click here.
  • While performing SSO, the users are assigned roles based on the group they are mapped to.
  • Group Mapping

Step 7. Redirection & SSO Links.

  • Go to the Login Settings tab. You can add a SSO URL to Perform SAML SSO in your Joomla site by following the steps mentioned.
  • Joomla Single Sign On SSO SAML SP Signin Settings
  • There are multiple features availabe in this tab like Auto redirect the user to Identity Provider and Enable Backend Login for Super Users. To use these features, click on the respective checkboxes.

    Congratulations, you have successfully configured the miniOrange SAML SP plugin with your Auth0 as IDP.

    Navigate to the Upgrade Plans tab to explore our comprehensive range of features and different licensing options. Alternatively, you can click here to view the features and licensing plans.

    If you encounter any problems or have questions, feel free to contact us. You can send your query via the Support button within the plugin or email us at joomlasupport@xecurify.com.

Additional Resources.

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