Skip to content

Commit

Permalink
Using correct globally approved app registration values
Browse files Browse the repository at this point in the history
  • Loading branch information
JimDaly committed May 15, 2018
1 parent fba885f commit 5c3eb96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions cds/LoginUX/ExampleLoginForm.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions cds/webapi/C#/SampleHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 5c3eb96

Please sign in to comment.