Skip to content

Commit 4a7e3a6

Browse files
author
Tiago Brenck
authored
Merge pull request #239 from martinwoodward/fix-smart-quote
Fix smart quote in sample
2 parents f51c6e5 + d540876 commit 4a7e3a6

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)