diff --git a/cds/LoginUX/ExampleLoginForm.xaml.cs b/cds/LoginUX/ExampleLoginForm.xaml.cs index 3a2af0f9..91baff0c 100644 --- a/cds/LoginUX/ExampleLoginForm.xaml.cs +++ b/cds/LoginUX/ExampleLoginForm.xaml.cs @@ -80,10 +80,10 @@ private void Window_Loaded(object sender, RoutedEventArgs e) // set this option to true. mgr.UseUserLocalDirectoryForConfigStore = true; - // Client ID to use for oAuth. ID: e5cf0024-a66a-4f16-85ce-99ba97a24bb2 is a sample ID that should be replaced by a ID created for your use. - mgr.ClientId = "e5cf0024-a66a-4f16-85ce-99ba97a24bb2"; + // Client ID to use for oAuth. ID: 51f81489-12ee-4a9e-aaae-a2591f45987d is a sample ID that should be replaced by a ID created for your use. + mgr.ClientId = "51f81489-12ee-4a9e-aaae-a2591f45987d"; // Redirect URI required for oAuth. - mgr.RedirectUri = new Uri("http://localhost/SdkSample"); + mgr.RedirectUri = new Uri("app://58145B91-0C36-4500-8554-080854F2AC97"); // if you are using an unmanaged client, you need to provide the name of an exe to use to create app config key's for. //mgr.HostApplicatioNameOveride = "MyExecName.exe"; diff --git a/cds/webapi/C#/SampleHelpers.cs b/cds/webapi/C#/SampleHelpers.cs index ed9dd7a8..6f724ebc 100644 --- a/cds/webapi/C#/SampleHelpers.cs +++ b/cds/webapi/C#/SampleHelpers.cs @@ -11,8 +11,8 @@ namespace PowerApps.Samples public class SampleHelpers { //These sample application registration values are available for all online instances. - public static string clientId = "e5cf0024-a66a-4f16-85ce-99ba97a24bb2"; - public static string redirectUrl = "http://localhost/SdkSample"; + public static string clientId = "51f81489-12ee-4a9e-aaae-a2591f45987d"; + public static string redirectUrl = "app://58145B91-0C36-4500-8554-080854F2AC97"; static string GetParameterValueFromConnectionString(string connectionString, string parameter) {