Skip to content

Commit d540876

Browse files
Fix smart quote in sample
Sample contained a smart quote instead of "
1 parent f51c6e5 commit d540876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-WebApp-AuthZ/5-2-Groups/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public static IServiceCollection AddMicrosoftIdentityPlatformAuthentication(this
258258
}
259259

260260
// In code..(Controllers & elsewhere)
261-
[Authorize(Roles = Group-object-id")] // In controllers
261+
[Authorize(Roles = "Group-object-id")] // In controllers
262262
// or
263263
User.IsInRole("Group-object-id"); // In methods
264264

0 commit comments

Comments
 (0)