Guide for Joomla Single Sign On (SSO) using Onelogin as Identity Provider (IdP)

OneLogin 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 Onelogin within minutes.

Step 1: Configuring Onelogin as Identity Provider (IdP)

  • Go to https://google3.onelogin.com and login into OneLogin.
  • Log into OneLogin as an Administrator and go to Apps Company Apps Add Apps from the Navbar.
  • add-apps
  • In the search box, type SAML Test Connector (SP) and click on the App to add it.
  • search-app
  • Enter the display name and click Save.
  • In General Settings, enter App Name and click on Next.
  • After saving, go to Configuration Tab and enter the following:
  • configuration
    Audience Enter SP-EntityID/Issuer from the Service Provider Metadata tab of the module.
    Recipient Enter ACS (Assertion Consumer Service) URL from the Service Provider Metadata tab of the module.
    ACS (Consumer) URL Validator Enter ACS (Assertion Consumer Service) URL from the Service Provider Metadata tab of the module.
    ACS (Consumer) URL Enter ACS (Assertion Consumer Service) URL from the Service Provider Metadata tab of the module.
    Single Logout URL Enter Single Logout URL from the Service Provider Metadata tab of the module.
  • Click on Save.

Step 2: Assigning Groups/People

  • Go to SSO tab. Note down the URL/Endpoints. These will be required while configuring the plugin.
  • sso
  • Click on View Details in X.509 Certificate heading. Copy the X.509 Certificate textarea value and keep it handy.
  • certificate

Step 3: Configuring Joomla as Service Provider (SP)

  • In Joomla SAML plugin, go to Service Provider Setup Tab. There are three ways to configure the plugin:
    • Uplad_Metadata_btn By Uploading Onelogin Metadata File :

      • Click on Upload IDP Metadata.
      • Upload_Metadata_btn
      • Choose metadata file and click on Upload.
      • Upload_Metadata_file

      Upload_Metadata_bt By Onelogin Metadata URL :

      • Click on Upload IDP Metadata.
      • Upload_Metadata_btn
      • Enter Metadata URL and click on Fetch Metadata.
      • Upload_Metadata_tn

      onelogin_sso Manual Configuration :

      • Provide the required settings (i.e. IdP Entity ID or Issuer, Single Sign-On Service URL, X.509 Certificate) and save it.
      IdP Entity ID or Issuer Issuer URL from the SSO tab in Onelogin
      Single Sign-On Service URL SAML 2.0 Endpoint (HTTP) from the SSO tab in Onelogin
      X.509 Certificate Paste the X.509 Certificate textarea value from the SSO tab in Onelogin

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

        Signin_Settings-1

Step 4: 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 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 Identity Provider (IdP)
    Attribute_Mapping_Tab
  • 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.

  • 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.
  • Group_Role_Mapping

Step 6: Redirection & SSO Links.

  • Go to Redirection & SSO Links 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.
  • Signin_Settings

Business Trial For Free

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