SAML Authentication

SAML SSO is a mechanism to log users into the Lucity Web and Mobile applications securely without the need for them to enter a logon and password every time. This authentication allows advanced authorization techniques such as Multi-Factor Authentication (MFA). SAML works similarly to Windows Authentication from the perspective of end users, but may be usable in scenarios where Windows Authentication is not available, such as for logging in to tablets or for a Lucity Web application hosted in the cloud.

More information

For more information about SAML, we recommend the following:

 

IDP Setup

  1. Select an IDP - In order to use SAML, you must have a SAML "Identity Provider" (IDP). A SAML IDP is an organization that offers SAML Identity services. Here is a short list of some known SAML IDPs:
  2. Once you have an IDP you will need to set it up with your user accounts by doing the following:
    1. Upload your user accounts to the IDP. This process should typically be automated so that each time a person joins or leaves the organization their account (typically active directory) is automatically synchronized with the IDP.
    2. Identify the information in the SAML account that will be used to link this account to Lucity. This could be:
      1. A unique email address tied to the SAML account

      OR

      1. The unique id for the SAML account
    3. Create an "Application" in the IDP. You may need to create several applications. If you want to use SAML with Lucity Web and also use SAML with a Lucity Tablet application, you will need at least two applications. The application will have the following properties:
      1. URL - The url for the SAML application that Lucity will access.
      2. Public Key (encoded) - The key to decrypt the SAML Assertion. This key may be awkward to obtain and will be obtained in different ways from different IDPs.
      3. SAML Consumer URL - The web page that the SAML IDP will call back in Lucity once the user has been authenticated at the SAML IDP.
        • Lucity Web - The SAML application for Lucity Web will have a Consumer URL ending in /Public/SAMLConsume.aspx. Example: https://servername/LucityWeb/Public/SAMLConsume.aspx.
        • Lucity Mobile - The SAML application for Lucity Mobile will have a Consumer URL ending in /LOGIN/SAML/ACS. Example: https://servername/LucityMobileServer/LOGIN/SAML/ACS

        Note: The URL only needs to be accessible by the user's local browser, so it CAN be an internal IP address.

Lucity Security Setup

After loading your Lucity users into the IDP you need to map them to Lucity.

  1. Open the Lucity Security Program > Security menu > Users/Groups Setup.
  2. Select a user and click Edit User(s).
  3. The SAML account can be linked to the user in one of two ways. IMPORTANT: Whichever option you select must be used consistently to link SAML accounts to Lucity users.
  4. Click Ok.

    Note: As this process will have to be completed for each user this would ideally be setup as a scheduled import.

    Lucity does not currently support any automatic integrations with IDP providers. Therefore when users are added to or removed from the IDP provider they will not automatically be added or removed from Lucity. This means that a user removed from the IDP provider may still be able to access Lucity using a different authentication type.

Lucity System Settings

Once the IDP is setup you will need to configure the following system settings.

Result

Lucity Web