As part of the load balancing capabilities Thinfinity® Workspace allows you to setup a Gateway that serves two (or more) Brokers on separate DNSs with dedicated SSO authentication. The diagram below presents the architecture details in such a scenario.
Preliminary Steps
- Install Thinfinity Workspace in Gateway mode on a DMZ server.
- Install Thinfinity Workspace in Broker mode on the servers you wish to configure for each domain.
- For our example, we are using a valid HTTPS certificate for *.thinfinity.cloud.
The DNSs used for this example are:
- https://broker1.thinfinity.cloud
- https://broker2.thinfinity.cloud
Gateway Configuration
1. Open Thinfinity Gateway and in the General tab, click Add.
2. In the Binding dialog window enter the following parameters then click OK.
Change the default HTTP option to HTTPS.
Change the port to 443.
In the SSL section, click New. Follow the steps to import the wildcard certificate. For this example, we'll use *.thinfinity.cloud.
3. Back to the General tab, click on the NetworkID button.
4. In the Manage Network IDs and Subdomains dialog use the Add button to generate a new subdomain for each tenant. Make sure to use the format NetworkID#Number-Of-Tenant.
5. Back to the General tab make sure to click Apply to implement the changes.
Brokers Configuration
1. Open Thinfinity Configuration Manager and in the Broker tab locate the Network ID field. Paste the corresponding NetworkID generated in the previous step.
2. On the Broker which corresponds to broker1.thinfinity.cloud domain add the Gateway URL pointing to its corresponding subdomain.
3. Repeat the procedure on the second Broker server using its corresponding subdomain.
Note: The client name can be a random number between 1 and 6 digits. This client name must be appended after the Gateway's NetworkID with the following format: #XXXXXX.
SSO Configuration for Each Broker
1. Open Thinfinity Configuration Manager and select the Authentication tab. Click Add and define the desired SSO. For this example, we have defined Azure for broker1.thinfinty.cloud and Google for broker2.thinfinity.cloud.
Single Sign-On with Azure on Broker 1
Single Sign-On with Google on Broker 2
2. Once you defined the SSO on each Broker, make sure to add the Authentication ID Mask as required: In Thinfinity Configuration Manager go to the Mappings tab and click Add.
3. In the Authentication Mask ID dialog enter the ID Mask and the authentication method used and click OK.