From b03b7df0d9a9c84d2f8598acc7bf3d6f06fb3911 Mon Sep 17 00:00:00 2001 From: Kevin BEAUGRAND <9513635+kbeaugrand@users.noreply.github.com> Date: Tue, 22 Mar 2022 10:00:19 +0100 Subject: [PATCH] Fix/447 add scope id configuration to portal (#469) (#473) * Add ID scope to portal deployment template * Read DPS Scope ID from Settings * Add unit tests coverage to config handlers --- src/AzureIoTHub.Portal/Server/ConfigHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AzureIoTHub.Portal/Server/ConfigHandler.cs b/src/AzureIoTHub.Portal/Server/ConfigHandler.cs index 0f6ce7b72..22c785385 100644 --- a/src/AzureIoTHub.Portal/Server/ConfigHandler.cs +++ b/src/AzureIoTHub.Portal/Server/ConfigHandler.cs @@ -14,7 +14,7 @@ public abstract class ConfigHandler internal const string IoTHubConnectionStringKey = "IoTHub:ConnectionString"; internal const string DPSConnectionStringKey = "IoTDPS:ConnectionString"; internal const string DPSServiceEndpointKey = "IoTDPS:ServiceEndpoint"; - internal const string DPSIDScopeKey = "IoTDPS:DPSIDScope"; + internal const string DPSIDScopeKey = "IoTDPS:IDScope"; internal const string OIDCScopeKey = "OIDC:Scope"; internal const string OIDCAuthorityKey = "OIDC:Authority";