Skip to content

Commit

Permalink
Support also 'entitlements' claim
Browse files Browse the repository at this point in the history
  • Loading branch information
federicaagostini authored and enricovianello committed Dec 10, 2024
1 parent c9f19ae commit 4639b18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class GrantedAuthoritiesMapperSupport {
protected final Multimap<String, GrantedAuthority> authzMap = ArrayListMultimap.create();
protected final AuthorizationServerProperties authzServerProperties;

public static final String[] OAUTH_GROUP_CLAIM_NAMES = {"groups", "wlcg.groups"};
public static final String[] OAUTH_GROUP_CLAIM_NAMES = {"groups", "wlcg.groups", "entitlements"};
public static final String SCOPE_CLAIM_NAME = "scope";

protected final Set<GrantedAuthority> anonymousGrantedAuthorities = Sets.newHashSet();
Expand Down

0 comments on commit 4639b18

Please sign in to comment.