React to Auth

This commit is contained in:
Hao Kung 2017-07-05 14:30:45 -07:00
parent 354facf4ad
commit 4e644ef41c
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ namespace MusicStore
.AddDefaultTokenProviders();
// Create an Azure Active directory application and copy paste the following
services.AddOpenIdConnectAuthentication(options =>
services.AddAuthentication().AddOpenIdConnect(options =>
{
options.Authority = "https://login.windows.net/[tenantName].onmicrosoft.com";
options.ClientId = "c99497aa-3ee2-4707-b8a8-c33f51323fef";

View File

@ -106,7 +106,7 @@ namespace MusicStore
});
// Create an Azure Active directory application and copy paste the following
services.AddOpenIdConnectAuthentication(options =>
services.AddAuthentication().AddOpenIdConnect(options =>
{
options.Authority = "https://login.windows.net/[tenantName].onmicrosoft.com";
options.ClientId = "[ClientId]";