Skip to content

Commit 9b3edd9

Browse files
author
Tiago Brenck
committed
review
1 parent 551cd25 commit 9b3edd9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

1-WebApp-OIDC/1-2-AnyOrg/README-1-1-to-1-2.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,12 @@ In the `Startup.cs` file, in the `ConfigureServices` method, after `services.Add
6464
{
6565
...
6666
// Sign-in users with the Microsoft identity platform
67-
services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)
68-
.AddSignIn("AzureAd", Configuration, options =>
69-
{
70-
Configuration.Bind("AzureAd", options);
71-
// Restrict users to specific belonging to specific tenants
72-
options.TokenValidationParameters.IssuerValidator = ValidateSpecificIssuers;
73-
});
67+
services.AddSignIn(Configuration, options =>
68+
{
69+
Configuration.Bind("AzureAd", options);
70+
// Restrict users to specific belonging to specific tenants
71+
options.TokenValidationParameters.IssuerValidator = ValidateSpecificIssuers;
72+
}, options => Configuration.Bind("AzureAd", options));
7473
...
7574
```
7675

0 commit comments

Comments
 (0)