Skip to content

Commit 3b51c18

Browse files
committed
Clarify that the roles scope is expected to be useful for our client
1 parent 294e8fc commit 3b51c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IdentityServer4Authentication/Stores/CustomClientStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ public class CustomClientStore : IClientStore
2020
AllowedScopes = new[]
2121
{
2222
"officeOwner",
23+
StandardScopes.Roles.Name,
2324

2425
// Allow these to be requested even though they don't do anything
2526
StandardScopes.OpenId.Name,
2627
StandardScopes.Email.Name,
2728
StandardScopes.Profile.Name,
28-
StandardScopes.Roles.Name,
2929
}
3030
}
3131
};

0 commit comments

Comments
 (0)