|
<< Click to Display Table of Contents >> Raynet One Data Hub > 2025.4 > Installation Guide > Data Hub > Windows > Configuration Server Backend |
The settings for the backend of the server are stored in the appsettings.json located in the root directory of the Raynet One Data Hub installation (by default C:\Program Files (x86)\RayVentoryDataHub directory).
Available settings:
•InternalDatabase – connection string to Raynet One Data Hub private database.
•Connection strings – the list of "DataSources" available for creating reports and dashboards. By default only one string will be available there – the connection string to "Result" database.
•InitialTenant – specifies the tenant that users are assigned to when logging in via external identity management (e.g., KeyCloak) if they have no tenant assignments. This setting is part of the ExternalIdentityManagement configuration. The default value is Default.
The InitialTenant setting is part of the ExternalIdentityManagement configuration and is used exclusively when external identity providers such as KeyCloak are configured. This setting determines which existing tenant a user should be automatically assigned to during login if they have no tenant assignments. The tenant must already exist in the system.
Configuration Details:
Property |
Description |
|---|---|
Setting Name |
InitialTenant |
Configuration Section |
ExternalIdentityManagement |
Default Value |
Default |
Data Type |
String |
When This Setting Applies:
•Only when external identity management (e.g., KeyCloak) is enabled and configured
•During user login via the external identity provider
•When the authenticated user has no tenant assignments in Raynet One Data Hub
Example Use Case:
A user authenticates via KeyCloak and successfully logs into Raynet One Data Hub. If this user has not yet been assigned to any tenant in the system, they will be automatically assigned to the tenant specified in the InitialTenant setting (by default "Default"). This allows users to access the application immediately without requiring manual tenant assignment by an administrator.
|
Important: This setting does NOT create a new tenant and has no effect on tenant creation during initial installation. The tenant name specified by InitialTenant must already exist in the system. This setting only applies when using external identity providers (such as KeyCloak) and only controls the automatic tenant assignment for users who have no tenant assignments when they log in. |