SAML Application
  • 30 Jan 2024
  • 5 Minutes to read
  • Dark
    Light
  • PDF

SAML Application

  • Dark
    Light
  • PDF

Article summary

Security Assertion Markup Language (SAML) application simplifies federated authentication and authorization processes for users, identity providers, and service providers. The identity provider authenticates the user's credentials and then returns the authorization for the user to the service provider. In addition, it allows users to use the application.

Configuring SAML Applications

To configure the SAML application:

  1. In the Applications home tab, click an Application. A pop-out menu option is displayed.
  2. Click Edit.  The Application Configuration screen is displayed.
  3. Configure the application using the following:
  • Application Name: Provide the application name.
  • Application Logo: Select the application logo.
  • Validation Certificate: Select the application certificate for validation.
  • Service Provider ACS URL: Enter the Assertion Service Consumer URL.
  • Service Provider ID URL: Enter the service provider ID URL.
  • Service Provider Relay State: Enter an additional value or parameter to authenticate the user.
  • Subject Identifier Type: Select the Identifier Type from drop-down options such as email id, entity, transient and unspecified. Email ID can be the default value.
  • Signature Algorithm: Select the radio buttons. 

           If selected SHA1, that means the certificate is signed with SHA1. 

           If selected SHA256, that means the certificate is signed with SHA256.

  • Hide SAML Application on User's Launchpad: Check the box, if you want to Hide SAML Application on user's Launchpad. By default, it is unchecked.
  • Enable Format for Issuer: By default, it is unchecked. Check the box, if you want to enable the format for the issuer.
  • Issuer: Enter the URL that identifies the SAML application provider.
  • Download Certificate: Download the tenant-specific SAML IDP certificate that is enabled in Security>SAML IDP Details.
  • CI Attribute: If selected, allows a user to select the drop-down option from the Subject Identifier.
  • Expression: You can select to enter an expression as a Subject Identifier in this text box.
    Example:
    function getVal() {
    var fname = this.getAttribute('firstName');
    var lname = SAML.getAttribute('lastName');
    return fname+'.'+lname;
    }
Information:
The SAML additional attribute field accepts both the Cross Identity (CI) attribute value and the value of an expression.
  1. Click Add Additional Attributes. 
  2. Select CI Attribute, to allow the user to select User Identifier from the drop-down list.
  3. Select Expression, to allow a user to enter an expression in the text field.
    For example:
    Expression for Additional Attribute Configuration:
    function getVal() {
    if(USER.isAttrUnique('emailAddress',this.getAttribute('emailAddress')) == true) {
    var fname = SAML.getAttribute('firstName');
    var lname = ACCOUNT.getAttribute('lastName');
    var newEmail = fname+'.'lname'@example.com';
    return newEmail;
    }
    return SAML.getAttribute('emailAddress');
    }
  4. Enter SAML Assertion Attribute Name.
  5. Click Add.
  6. Click Save in the first screen. An “Application Updated Successfully” confirmation message is displayed.
  7. Click Close.

Sample SAML Configuration

This section provides step-by-step information about SAML SP initiated configuration where Salesforce acts as a service provider and CI as an identity provider.

SP Configuration

To configure the SAML (SP initiated) application for Salesforce, perform the following steps:

  1. Create a profile for the Salesforce application through Salesforce.com.
  2. Go to the home page of Salesforce and click on the setup icon.
  3. Search for MY Domain, click on Edit and Enable.
  4. Enter any Domain Name and Save.
  5. Search for Single Sign-On settings.
  6. Enable the SAML-enabled checkbox.
  7. Click on New.
  8. Enter the instance/application name. For example, DevTest.
    Provides values for the following parameters:
  9. Click Save.
  10. Download the Metadata file.
  11. Go to My Domain > click on Edit > Authentication service.
  12. Disable the Login form.
  13. Enable domain name (The name you have entered appears).

IDP Configuration

To configure the SAML application in CI as IDP, perform the following steps:

  1. Go to Admin login.
  2. Click on the SAML application icon and select Edit.
    Provide values for the following parameters:
    • Issuer Name: Provide a unique issuer name.
    • Service Provider ID URL: Provide Entity ID from the metadata file (Step 10).
    • Service Provider ACS URL: Provide the Location from the metadata file.
  3. Click Save.
  4. Create a user schema attribute 'SamlEmail' through Admin> Advance> User Schema attribute.
  5. Select the SamlEmail attribute in the subject identifier of the SAML Application.
  6. Create a user through Admin> Identities.
  7. Update the username of the Salesforce application into the SamlEmail attributes of a user (the Username gets created when you create a profile in the Salesforce application and receive it through email/personal details).

Using the SP Initiated flow for CI as IDP

SSO Flow

  1. Log in with the configured end-user.
  2. Go to the Launchpad.
  3. Launch SAML application (Salesforce)

SP Initiated Flow

  1. Go to the Service Provider ID URL. An end-user Login page appears.
  2. Log in with the configured end-user.

Application Authorization

An Administrator allows you to create users and roles. You can perform the following:

  • Authorize Roles
  • Authorize Users

Authorize Roles

As an administrator, CI allows you to select specific roles that are authorized to access an application.

To authorize roles:

  1. Click Application. A pop-up option appears.
  2. Click Edit icon. The Application Configuration screen is displayed.
  3. Click Application Authorization tab. The Application Authorization screen is displayed.
  4. Click Authorized Role and click Add Role. The Add Role screen is displayed.

  1. Enter a Role Name.
  2. Click Add. The added role is displayed on the screen.
Information:
Based on the role type it allows the user to select as either static or dynamic.

Authorize Users

As an administrator, CI allows users to access each application.

To authorize users:

  1. Click Application. A pop-up option appears.
  2. Click Edit icon. The Application Configuration screen is displayed.
  3. Click Application Authorization tab. The Application Authorization screen is displayed.
  4. Click Authorized User and click Add User. The Add user screen is displayed.

  1. Enter a Username.
  2. Click Add. The added user is displayed on the screen.

Application Security

CI allows you to set up multi-level authorization to enhance security. All SSO applications can have an additional parameter defined by an administrator.

To set up multi-level authorization, perform the following steps:

  1. Click Application. A pop-up option appears.
  2. Click the Edit icon. The SAML Application screen is displayed.
  3. Click the Application Security tab.
  4. Select Enable Step-up Authentication. The following options are displayed:
    • Security Questions: The user must answer all the available security questions that are displayed on the screen.
    • SMS OTP: Users will receive a one-time password on their registered mobile numbers. A phone number is dynamically derived from the user’s profile.
    • Email OTP: Users will receive a one-time password on their registered email address. The email address will be dynamically derived from the user’s profile.
    • Soft Token: Six-digit one-time passcode will be generated on the Soft Token app on the user’s mobile number. The user needs to enter the passcode for verification.
  5. Click Save. A “Successfully updated application step-up authentication” confirmation message is displayed.

Browser Preference

You can enable your choice of browser in the browser’s preference for the web application.

To select browser preference, perform the following steps:

  1. Click Application. A pop-up option appears.
  2. Click the Edit icon. The SAML Application screen is displayed.
  3. Click the Browser Preference tab.

  1. Click Enable browser preference. The following list of browsers appears for a user to select the preference:
    • Firefox
    • Internet Explorer
    • Chrome
  2. Select your preferred browser to assign a browser to the application.
  3. Click Save.

Provisioning

You can associate a provisioning application with each Web SSO application. If you have an owned account in the provisioning application, the SSO icon of the web application comes up on your SSO launchpad.

To associate the provisioning of an application, perform the following steps:

  1. Click Application. A pop-up option appears.
  2. Click the Edit icon. The SAML Application screen is displayed.
  3. Click the Provisioning tab.

  1. Select Associate a provisioning application. Select the IGA application that is associated with the Provisioning Application from the drop-down list.
  2. Click Save. A “Successfully associated provisioning application” confirmation message is displayed.

Was this article helpful?