Configure Private Connection for your application

Estimated reading: 2 minutes 172 views

The Visual Guard Identity Server allows your application to securely connect to the Identity Server, which in turn connects to the database repository to retrieve user security data. This setup enhances security by preventing the application from accessing the database directly.

You can configure a private connection between your application and the Visual Guard Identity Server using secure protocols such as HTTPS, HTTP, and gRPC. The configuration is done via the WinConsole. Below are the steps to establish this connection.

Step 1: Configure your VisualGuard Identity Server via Identity Server or Winconsole


Note: If you want to leverage the performance using GRPC, you need to configure the parameters of VisualGuard Identity Server as shown below. The GRPC connection works only with Windows Server 2022, Windows 11 or above.

(These settings are available on the configuration of Identity Server, quick links given above)

1) Is GRPC Enabled: Enable the button to activate the GRPC

2) Is GRPCWeb Enabled: Enable the button to activate as it makes the private service compatible with http 1.1

Note: If you activate GRPCWeb, You can use the same port of https as well (port no 443)

3) GRPC Port: Mention the Port no. on which GRPC service will be running

Note: Please use the HTTPS port for the GRPC service.You can use the same port of https as well (port no 443). While specifying the port no for GRPC service, make sure you use the same port which you declared in Identity Server configuration.


Step 2: After successfully configuring Visual Guard Identity Server, you need to generate the Visual Guard Configuration files as shown below.

  1. Select Client Configuration Section from the dashboard

2. Select your application/client, and Select ‘PrivateConnection’ as client’s platform type and Click on ‘Generate Configuration Files


3. By clicking on the Generate configuration files, the files are automatically generated. You will get the section as shown below confirming the successful configuration. You can click on the Download buttons on the left side to get the configuration files. You need to place these VisualGuard configuration files in your application folder.