Skip to content

Commit

Permalink
Comment out Apple option
Browse files Browse the repository at this point in the history
Comment out the Apple provider as it causes the application to fail to start if the values aren't set and/or the key file does not exist.
  • Loading branch information
martincostello committed Sep 20, 2019
1 parent 8ee2f76 commit 15078f4
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions samples/Mvc.Client/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ public void ConfigureServices(IServiceCollection services)
options.LogoutPath = "/signout";
})

.AddApple(options =>
{
options.ClientId = Configuration["AppleClientId"];
options.KeyId = Configuration["AppleKeyId"];
options.TeamId = Configuration["AppleTeamId"];
options.UsePrivateKey(
(keyId) => HostingEnvironment.ContentRootFileProvider.GetFileInfo($"AuthKey_{keyId}.p8"));
})

.AddGoogle(options =>
{
options.ClientId = "560027070069-37ldt4kfuohhu3m495hk2j4pjp92d382.apps.googleusercontent.com";
Expand All @@ -67,6 +58,17 @@ public void ConfigureServices(IServiceCollection services)
options.Scope.Add("user:email");
})

/*
.AddApple(options =>
{
options.ClientId = Configuration["AppleClientId"];
options.KeyId = Configuration["AppleKeyId"];
options.TeamId = Configuration["AppleTeamId"];
options.UsePrivateKey(
(keyId) => HostingEnvironment.ContentRootFileProvider.GetFileInfo($"AuthKey_{keyId}.p8"));
})
*/

.AddDropbox(options =>
{
options.ClientId = "jpk24g2uxfxe939";
Expand Down

0 comments on commit 15078f4

Please sign in to comment.