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

# Forest Admin

Forest Admin enables organizations to easily create an Admin panel to manage their data. See <https://www.forestadmin.com>. You can protect access to Forest Admin by integrating Forest Admin with Identity as a Service. Once integrated, users can use single sign-on to log in to their LogMeIn account through Identity as a Service.

note

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

## Prerequisites

To use these instructions, you must first create a project for IDaaS in Forest Admin. Consult the Forest Admin documentation for instructions.

To integrate Forest Admin with Identity as a Service

Before you begin, open two browser windows. In one window, log in to your Forest Admin project. In the other window, log in to your IDaaS administrator account.

## Step 1: Copy the ACS URL, SP Entity ID, and relay state from Forest Admin

1. Log in to Forest Admin. The Forest Admin home page appears.

2. Click your project and select **Organization** from the login account menu at the top-right of the screen.

3. Click the **Security** tab. The **Security** page appears.

4. Click **Configure Single Sign-on**. The **Information to configure single sign-on** appears.

5. Copy the following to a text file, such as Notepad:

   **ACS URL** (the default is <https://forestadmin.com/sso/saml>)

   **SP Entity ID** (the default is <https://app.forestadmin.com>)

   **Default relay state**

6. Leave this window open.

## Step 2: Add Forest Admin to Identity as a Service

1. Log into your Identity as a Service administrator account.
2. Click Menu icon **>** **Resources > 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.
   - In the **Search bar**, enter a search option to filter for the application you want to add to IDaaS.
5. Click **Forest Admin**. The **Forest Admin** 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. In the **Default Assertion Consumer Service URL** field, enter the **ACS URL** you copied in _Step 1: Copy the ACS URL, SP Entity ID, and Relay State from Forest Admin_.
12. In the **Service Provider Entity ID (Issuer)** field, enter the **SP Entity ID** you copied in _Step 1: Copy the ACS URL, SP Entity ID, and Relay State from Forest Admin_.
13. Leave the **Single Logout Service URL** field empty.
14. Enter the **SAML Session Timeout** to the time when the SAML Assertion times out. The maximum is 720 minutes.
15. 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.
16. From the **SAML NameID Attribute** drop-down list, select **Email**.
17. From the **SAML NameID Encoding Format** drop-down list, select **Email**.
18. From the **SAML Signing Certificate** from the drop-down list, select the signing certificate.
19. From the **SAML Signature Algorithm** drop-down list, select **SHA512**.
20. 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.
21. Deselect **Enable Go Back Button** if you do not want users to be able to go back to the Forest Admin login page to log in.
22. 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.
23. 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. Repeat these steps to add more Alternative Assertion Consumer Service URLs.
24. To add a relay state:
    1. Under **Relay State**, click **Add**. The **Add Relay State** dialog box appears.
    2. Enter **ForestAdmin-RelayState** in the relay **Name** field.
    3. Enter the **Value** for the relay state. This setting specifies the application or URL that a user is redirected to after successful authentication. For **Forest Admin**, enter the **Default Relay State** you copied in _Step 1: Copy the ACS URL, SP Entity ID, and Relay State from Forest Admin_.
    4. Click **Add**.
25. Click **Submit**.

## Step 3: Add a resource rule

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

## Step 4: Download the metadata from Identity as a Service

1. In Identity as a Service, click Menu icon **>** **Security > Applications**. The **Applications List** page appears.
2. Do one of the following:
   - Click Cloud Download icon next to the application you are integrating with Identity as a Service.
   - Click Ellipsis Vertical icon next to the application you are integrating with Identity as a Service and select **SAML IDP Metadata**.
3. The **SAML Application Metadata** dialog box appears.
4. **Select the certificate to include in the SAML IDP Metadata file** from the drop-down list.
5. If applicable, **Select the domain to include in the SAML IDP Metadata** file from the drop-down list.
6. Enter the **Lifetime, in days, for the SAML IDP Metadata file**. The value must be between 2 and 730.
7. Do one of the following, as required:
   - Copy the **Public Endpoint** to paste into your SAML application being used Identity Provider authentication.
   - Click **Download**.

note

If you are using multiple domains, you must download each domain's metadata file separately because the values in the metadata file vary for each domain.

## Step 5: Configure Forest Admin for Identity as a Service authentication

1. Return to the page you left open in _Step 1: Copy the ACS URL, SP Entity ID, and Relay State from Forest Admin_.
2. Scroll to **Choose a method**.
3. Select **XML file upload or XML file endpoint**.
4. Click **Configure**. The **Configure Single Sign-on** page appears.
5. Click **Add a metadata XML**.
6. Browse to locate and upload the XML file you downloaded in _Step 4: Download the metadata from Identity as a Service_.
7. Click **Test Configuration**. When configuration is complete, you are returned to the **Security** page.
8. Click **Enable Single Sign-on**. The **Single Sign-On /SAML** page appears.
9. Scroll to **Options**.
10. Toggle **ON** **Enable Identity Provider initiated login**.
11. Click **Save**.
12. Log out of your Forest Admin project.

## Step 6: Test the integration

### Testing Service Provider Login

1. Open a Web browser and enter the URL for your Forest Admin account.
2. Click **Single Sign-on**. You are redirected to Identity as a Service.
3. Log in to IDaaS.
4. Respond to the second factor authentication. If you respond successfully, you are logged into Forest Admin.

### Testing Identity as a Service redirect log in

1. Log in to your Identity as a Service account.
2. Go to your **My Profile** page if you are not already there.
3. Under **Applications**, click **Forest Admin**.
4. Respond to the second factor authentication challenge. If you respond successfully, you are logged in to Forest Admin.
