> For AI agents: [llms.txt](https://docs.trustedauth.com/llms.txt) provides a Markdown index of this documentation.

# Citrix Workspace

Citrix Workspace is a complete digital workspace solution that allows you to deliver secure access to the information, apps, and other content that are relevant to a person's role in your organization (see <https://www.citrix.com/products/citrix-workspace/>). This integration provides instructions to integrate Citrix Workspace with Identity as a Service. Once integrated, users can use single sign-on to log in to their Citrix Workspace account using Identity as a Service.

For information on required attributes, see the following Citrix documentation: <https://docs.citrix.com/en-us/citrix-cloud/citrix-cloud-management/identity-access-management/saml-identity.html>.

note

This integration was tested using Identity as a Service version 5.13 and Citrix Workspace. Other versions of Citrix Workspace may require integration and configuration steps that differ from those documented in this procedure. For other versions of Citrix Workspace, use this procedure as a starting point for integrating Citrix Workspace. In the event of other issues, contact <support@entrust.com> for assistance.

To integrate Citrix Workspace with Identity as a Service, you must do the following:

## Step 1: Copy the SAML Configuration from Identity as a Service

Copy the SAML Configuration from Identity as a Service

1. Log into your Identity as a Service administrator account.
2. Click Menu icon **>** **Security > Applications**. The **Applications** **Lists** page appears.
3. Under **SAML Cloud Integrations**, click **SAML Configuration**. The **SAML Configuration** dialog box appears.

This dialog box contains information you need to configure your SAML application for Identity as a Service authentication.

4. Do one of the following:
   - Leave this dialog box open to reference later in this procedure.
   - Copy the Entity ID, Single Sign-on URL, and Single Logout URL to a text file and save it to reference later in this procedure.

note

Depending on the integration you are performing, you may not need all three of these SAML configuration values.

## Step 2: Export the signing certificate from Identity as a Service

Export a SAML signing certificate

1. Log in to your Identity as a Service administrator account.
2. Click Menu icon **>** **Security > Applications**. The **Applications List** page appears.
3. Under **SAML Cloud Integrations**, click **SAML Signing Certificates**. The **SAML** **Signing Certificates** page appears.
4. Click next to the certificate to export the certificate you want to import into your SAML service provider application. The **Export Certificate** dialog box appears.
5. If the certificate has been issued by a CA, do one of the following:
   - Click **Certificate** to export the self-signed certificate.
   - Click **Root CA Certificate** to export a certificate issued from a CA.
   - Click **Certificate Chain** to export the SAML signing certificate and its CA certificates.
6. Click **Export**.

## Step 3: Configure Citrix Workspace for Identity as a Service single sign-on

1. Log in to your Citrix Workspace account. The **Dashboard** page appears.
2. Click and select **Identity and Access Management**. The **Identity and Access Management** page appears.
3. Scroll to **SAML 2.0**, click and select **Connect**.
4. In the **Entity ID** field, enter the **Entity ID** you copied in _Step 1: Copy the SAML Configurations from Identity as a Service_.
5. Click **Download** to download the **SAML Metadata**. The **Metadata** opens.
6. Click **Save As** and the save the file as citrix_workspace_metadata.xml.
7. In the **SSO Service URL** field, paste the **Single Sign-On URL** you copied in _Step 1: Copy the SAML Configurations from Identity as a Service_.
8. From the **Binding Mechanism** drop-down list, select **HTTP Redirect**.
9. From the **SAML Response** drop-down list, select **Sign Either Response or Assertion**.
10. Next to **X.509** Certificate, click **Upload File** and browse to open the certificate you exported in _Step 2: Export the signing certificate from identity as a Service_.
11. From the **Authentication Context** drop-down lists, select **Unspecified** and **Minimum**.
12. In the **Logout URL**, paste the Single Logout URL you copied in _Step 1: Copy the SAML Configurations from Identity as a Service_.
13. Verify the following default name attribute values in Citrix Cloud match the corresponding attribute values in your Entrust IDaaS Custom Attributes List administration console. If your Entrust IDaaS Custom Attributes List has different values, you can change these values in Citrix Cloud to ensure they match your Entrust IDaaS Custom Attributes List.
    - Attribute name for **User Display Name**: displayName.
    - Attribute name for **User Given Name**: givenName.
    - Attribute name for **User Family Name**: familyName.
14. In Citrix Cloud, enter the custom SAML attributes from your Entrust IDaaS custom attribute list (see [Create and manage user attributes](/docs/people-and-access/manage-members/create-and-manage-user-attributes.md)).
    - In **Attribute name for Security Identifier (SID)**, enter your custom SID attribute name. The default value is cip_sid.
    - In **Attribute name for User Principal Name (UPN)**, enter your custom UPN attribute name. The default value is cip_upn.
    - In **Attribute name for Email**, enter your custom Email attribute name. The default value is cip_email.
    - In **Attribute name for AD Object Identifier (OID)**, enter your custom OID attribute name. The default value is cip_oid.
15. Click **Test and Finish**. If the test is successful, the **Identity and Access Management** page appears.
16. Scroll to **SAML 2.0**, click on three dots and select **Manage subscriber access**. The **Services** page appears.
17. Go to **Workspace Configuration** > Authentication > Workspace Authentication. The **Workspace Configure** page appears.
18. Click **SAML 2.0**.

## Step 4: Create custom user attributes

Create custom user attributes

You need to create the following custom user attributes:

- cip_oid
- cip_sid
- cip_upn
- cip_email

1. Click Menu icon **>** **Members > Attributes**. The **User Attributes List** page appears.
2. Under **Custom User Attributes**, click **Add**. The **Add User Attribute** dialog box appears.
3. Enter **cip_oid** for the **User Attribute Name.**
4. Check **Required** if you want the attribute to be mandatory.
5. Click **Add** to create the attribute.
6. Repeat these steps to add **the** cip_sid, cip_upn, and cip_email custom user attributes.

After you have created these attributes, then you need to create and map the following:

7. Click Menu icon **>** **Resources > Directories**. The **Directories List** page appears.
8. Select the Directory. The **Edit Directory** page appears.
9. Map the attributes as follows:
   - objectSid and map to the cip_sid attribute.
   - userPrincipalName and map to the cip_upn attribute.
   - ObjectGUID and map to the cip_oid attribute.
   - mail and map to the cip_email attribute.
10. Click **Save**.

## Step 5: Add Citrix Workspace to Identity as a Service

Add Citrix Workspace to Identity as a Service for single sign-on

1. Log in to your Identity as a Service administrator account.
2. Click Menu icon **>** **Security > Applications**. The **Applications** **Lists** page appears.
3. Click **Add**. The **Select an Application Template** page appears.
4. Do one of the following:
   - Select **SAML Cloud Integrations** from the search drop-down list and scroll to find the application you want to add to IDaaS.
   - - or -
   - In the **Search bar**, enter a search option to filter for the application you want to add to IDaaS.
5. Click **Citrix Workspace**. The **Add Citrix Workspace** page appears.
6. Enter an **Application Name**.
7. Enter an **Application Description**.
8. Optional. Add a custom application logo.
   1. Click Plus icon next to **Application Logo**. The **Upload Logo** dialog box appears.
   2. Click Upload icon to select an image file to upload.
   3. Browse to select your file and click **Open**. The **Upload Logo** dialog box reappears showing your selected image.
   4. If required, resize your image.
   5. Click **OK**.
9. Select the **Authentication Flow** that appears to users during login.
10. Click **Next**. The **General** page appears.
11. Click Upload icon to the **Upload Metadata XML** and browse to the location of the metadata file you downloaded. The **Metadata Configuration** dialog box appears.
12. If required, click **Merge with existing values** to merge new values with existing values for Alternative Assertion Consumer Services URLs and SAML attribute names.
13. Click **Save**.
14. Optional. Enter the **SAML Username Parameter Name** used to identity the user ID being requested for authentication. The user ID can then be passed as a parameter, for example, Username=jdoe.
15. Enter the **SAML Session Timeout** to the time when the SAML Assertion times out. The maximum is 720 minutes.
16. Enter the **Max Authentication Age (seconds)** to set the maximum amount of time that can elapse before a user is required to reauthenticate during a new login attempt. This applies for both SP-initiated and IDP-initiated login. Set this field to -1 to disable this feature.
17. From the **SAML NameID Attribute** drop-down list, select **User ID**.
18. From the **SAML NameID Encoding Format** drop-down list, select **Unspecified**.
19. From the **SAML Signature Algorithm** drop-down list, select **SHA-256**.
20. From the **SAML Signing Certificate, select the signing certificate.**
21. **Select** **Sign Complete SAML Response.**
22. Optional: Select **Respond Immediately for Unsuccessful Responses** to return to the application immediately after a login failure, rather than allow user to try again with a different userID.
23. Deselect **Enable Go Back Button** if you do not want users to be able to go back to the Citrix Workspace login page to log in.
24. Select **Show Default Assertion Consumer URL Service in the My Profile**. When selected, the Default Assertion Consumer URL appears in a user's My Profile page in addition to relay states and Alternative Assertion Consumer URLs.
25. Optional. Add **Alternative Assertion Consumer Service URLs**, as follows:
    1. Click **Add**.
    2. Enter a **Name**.
    3. Enter a URL **Value**.
    4. Select **Show in My Profile** to display the Alternative Consumer Service URL in a user's My profile page.
    5. Optional. **Add an Application Logo**.
    6. Click **Add**.
    7. Repeat these steps to add more Alternative Assertion Consumer Service URLs.
26. **Add SAML Attributes as follows:**
    1. Under **SAML Attributes**, click **Add**. The **SAML Attributes** dialog box appears.
    2. In the **Name** field enter cip_email.
    3. Click **Add** next to **Value(s)**.
    4. In the **Values** field type **<** and select **<Email>** from the drop-down list.
    5. Click **Add**.
    6. Repeat these steps to add the following additional SAML Attributes:
       - Name **cip_sid** with value **<cip_sid>** or your existing SID attribute
       - Name **cip_upn** with value **<cip_upn>** or your existing UPN attribute
       - Name **cip_oid** with value **<cip_oid>** or your existing OID attribute
       - Name **cip_email** with value **<cip_email>** or your existing OID attribute
27. Click **Submit**.

## Step 6: Add a resource rule

See [Create resource rules](/docs/authentication-and-security/create-and-manage-resource-rules.md).

## Step 7: Test the integration

1. Log in to your Citrix Workspace account.
2. Click and select **Workspace Configuration > Access Workspace URL**.
3. Enter the following Access Workspace URL:

**Example:** <https://user.cloud.com>

4. You are redirected to Identity as a Service.
5. Enter your user name and respond to the second-factor challenge.
6. Click **Log in**. The **Workspace Dashboard** appears.
