React to Auth
This commit is contained in:
parent
354facf4ad
commit
4e644ef41c
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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]";
|
||||
|
|
|
|||
Loading…
Reference in New Issue