Skip to content

Commit dce0821

Browse files
authored
Fixing #310
1 parent d3b717d commit dce0821

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

1-WebApp-OIDC/1-3-AnyOrgOrPersonal/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ In the **appsettings.json** file:
151151
by this line:
152152
153153
```CSharp
154-
services.AddSignIn(Configuration);
154+
services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)
155+
.AddSignIn("AzureAd", Configuration, options => Configuration.Bind("AzureAd", options));
155156
```
156157
157158
This enables your application to use the Microsoft identity platform endpoint. This endpoint is capable of signing-in users both with their Work and School and Microsoft Personal accounts.

0 commit comments

Comments
 (0)