Configure Private Connection for your application

Estimated reading: 2 minutes 47 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 and Windows 11.

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

  • Is GRPC Enabled: Enable the button to activate
  • Is GRPCWeb Enabled: Enable the button to activate as it makes the private service compatible with http 1.1
  • GRPC Port: Mention the Port no. on which Grpc service will be running

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.