Skip to content

Commit 8479372

Browse files
author
Tiago Brenck
authored
Merge pull request #351 from Azure-Samples/tibre/fixReadme
Updated readme code according to M.I.W
2 parents a8ad882 + 6c92af4 commit 8479372

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,10 @@ In the `Startup.cs` file, in the `ConfigureServices` method, after `services.Add
228228
{
229229
...
230230
// Sign-in users with the Microsoft identity platform
231-
services.AddMicrosoftIdentityPlatformAuthentication(Configuration);
231+
services.AddSignIn(Configuration);
232232
233233
// Restrict users to specific belonging to specific tenants
234-
services.Configure<OpenIdConnectOptions>(AzureADDefaults.OpenIdScheme, options =>
234+
services.Configure<OpenIdConnectOptions>(OpenIdConnectDefaults.AuthenticationScheme, options =>
235235
{
236236
options.TokenValidationParameters.IssuerValidator = ValidateSpecificIssuers;
237237
});

0 commit comments

Comments
 (0)