You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 5-WebApp-AuthZ/5-2-Groups/Startup.cs
+14-11Lines changed: 14 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -35,17 +35,20 @@ public void ConfigureServices(IServiceCollection services)
35
35
options.HandleSameSiteCookieCompatibility();
36
36
});
37
37
38
-
// Sign-in users with the Microsoft identity platform
39
-
services.AddSignIn(options =>
40
-
{
41
-
// Uncomment the following lines code instruct the asp.net core middleware to use the data in the "groups" claim in the [Authorize] attribute and for User.IsInrole()
42
-
// See https://docs.microsoft.com/en-us/aspnet/core/security/authorization/roles for more info.
//// Sign-in users with the Microsoft identity platform
40
+
//services.AddSignIn(options =>
41
+
// {
42
+
// // Uncomment the following lines code instruct the asp.net core middleware to use the data in the "groups" claim in the [Authorize] attribute and for User.IsInrole()
43
+
// // See https://docs.microsoft.com/en-us/aspnet/core/security/authorization/roles for more info.
44
+
// // // Use the groups claim for populating roles
0 commit comments