Skip to main content
Skip table of contents

Brokering: Leostream

⚠️ Important

With the introduction of Lens 2024, the Lens platform takes exclusive ownership of supported brokers to ensure that only authorised Lens users can access workstations and resources.

For the Leostream Broker to support this, there are some important things to note:

  • Any configured policies should not permit access to any pools, as this will be handled by Lens.

  • Any user assignments to desktops will be removed

Not updating your Leostream Broker policy may allow users to bypass the Lens Platform.

Leostream specific options

Webhooks

Webhooks help make the Lens application smarter. As Lens is not a connection broker, we do not always know when certain events happen. If the broker supports it, then it’s highly recommended to configure webhooks.

Set the session start webhook

  1. In the General tab

  2. Check the Send HTTP GET request at start of session option

  3. In the URL to call at start of session field, enter the webhook from the Infrastructure healthcheck webhook button in Lens. Leave the Timeout in seconds field at 5.

Set the session start webhook

  1. In the General tab

  2. Click the :3_dot_menu: button next to the pool you want to configure, and then select Edit from the menu

  3. In the modal, scroll down to the When User is Assigned to Desktop section

  4. Check the Send HTTP GET request option

  5. In the URL to call at assignment time field, enter the webhook from the Session start webhook button in Lens. Leave the Timeout in seconds field at 5.

Set the session end webhook

  1. Login to the Leostream UI

  2. In the left sidebar, go to Configuration and then select Release Plans

  3. Find the plan you want to edit, and click the Edit link

  4. Scroll to the When User Disconnects from Desktop section

  5. In the URL to call field, enter the webhook from the Session end webhook button

  6. Click the Save button

Importing broker desktops

This will show all desktops that are present in Leostream, even if they are not found in another supported platform. This can be useful for displaying workstations in Lens that are supported by Leostream but not supported natively by Lens. To enable this feature:

  1. Login to the application

  2. In the left sidebar, select Configuration then click the Settings option

  3. Select the Manage site item from the Sites and Collectors section

  4. Select the site you would like to edit from the dropdown menu

  5. Click the Brokering tab

  6. Scroll down to the Workstations section

  7. Enable the Import workstations from broker when not found via other platforms toggle

  8. Scroll to the bottom of the page

  9. Click the Save button

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.