Skip to content

Commit

Permalink
Restrict access to SCIM scopes to admins only
Browse files Browse the repository at this point in the history
Also client credentials flow is still allowed
  • Loading branch information
enricovianello committed Jan 31, 2025
1 parent c0c4802 commit 5f20592
Show file tree
Hide file tree
Showing 4 changed files with 197 additions and 240 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class DefaultScopeFilter implements ScopeFilter {

public static final Logger LOG = LoggerFactory.getLogger(DefaultScopeFilter.class);

public static final Set<String> ADMIN_SCOPES = Set.of("iam:admin.read", "iam:admin.write");
public static final Set<String> ADMIN_SCOPES = Set.of("iam:admin.read", "iam:admin.write", "scim:read", "scim:write");

private static final Set<String> EXCLUDED_SCOPES = Set.of("openid");

Expand Down
Loading

0 comments on commit 5f20592

Please sign in to comment.