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

Salesforce Signal 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 Salesforce within minutes.

Step 1: Configuring Salesforce as Identity Provider (IdP)

  • Log into salesforce and go to Setup.
  • Salesforce_2-3
  • From the left pane, select Build Create Apps.
  • Create_app-1
  • Scroll down, under Connected Apps, click on New button.
  • New_app-1
  • Enter Connected App Name, API Name and Contact Email.
  • salesforce_2
  • Under Web App Settings, check the Enable SAML checkbox and enter the following values:
  • Entity ID Enter SP Entity ID / Issuer from the Service Provider Metadata tab of the module.
    ACS URL Enter ACS (Assertion Consumer Service) URL from the Service Provider Metadata tab of the module.
    Subject Type Username
    Name ID Format urn:oasis:names:tc:SAML:2.0:nameid-format:persistent
    salesforce_3

Step 2: Assign Profiles

  • Now from left pane, under Administration Setup, select Manage Apps Connected Apps.
  • connected_app
  • Click on the App you just created.
  • Scroll down, under Profiles click on Manage Profiles, Select the profiles you want to give access to login through this app.
  • manage_profiles

Step 3: Download metadata for communities

  • Under SAML Login Information, click on Download Metadata.
  • Open the downloaded file in some browser like Chrome, Firefox, IE, Microsoft Edage.
  • Search for "ds:X509Certificate" tab and copy the entire string under this tag. String would be like this: "MII....".
  • Keep this certificate value handy for next steps.
  • salesforce_sso_idp

Step 4: Configuring Joomla as Service Provider (SP)

  • In Joomla SAML plugin, go to Service Provider Setup Tab. There are two ways to configure the plugin:
  • I. By Uploading Salesforce Metadata.xml file(Recommended):

      1. Click on Upload IDP Metadata.

      Upload_Metadata_btn 2. Choose metadata file and click on Upload.

      Upload_Metadata_file

    II. Manual Configuration :

    • In miniOrange SAML plugin, go to Service Provider Metadata Tab. Enter the following values:
      IDP Entity ID https://<your domain>.my.salesforce.com
      Single Sign-On Service URL https://<your domain>.my.salesforce.com /idp/endpoint/HttpRedirect
      X.509 Certificate Paste the certificate value you copied from the Metadata file.

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


      Signin_Settings-1

Step 5: 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)
    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 6: 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 7: 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

    Miniorange Joomla SAML Single sign-on(web SSO) supports multiple known IDPs like ADFS, Azure AD, Salesforce, Shibboleth, Onelogin, Okta, Feide integration, Oracle Access Manager, Redhat, SimpleSamlPhp, Google apps, Bitium, OpenAM, miniorange IDP, Centrify and many more.


    For further details refer :
    https://www.miniorange.com/salesforce_as_idp_community_users


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.