Directory groups and OIDC claim groups
Stacklok Enterprise uses directory groups for connector access and budgets. It uses OpenID Connect (OIDC) claim groups for cluster authorization policy. Choose the group model that matches the control you are configuring.
| Control | Group model |
|---|---|
| Connector access | Directory group |
| AI Gateway budget | Directory group |
PlatformRoleBinding or ClusterPlatformRoleBinding | OIDC claim group |
ToolhiveAuthorizationPolicy | OIDC claim group |
Directory groups
A directory group is a record in the directory service with an identifier, name, and membership list. Administrators can manage directory groups in the console or provision them from an identity provider through System for Cross-domain Identity Management (SCIM).
The Connector Gateway resolves each caller to a directory user and uses their group memberships to determine connector access. AI Gateway group budgets also reference the directory group's identifier.
OIDC claim groups
An OIDC claim group is a string in the caller's token. The
PlatformRoleBinding, ClusterPlatformRoleBinding, and
ToolhiveAuthorizationPolicy resources match these strings when evaluating
cluster authorization policy.
These resources read group values directly from the token. Configure the identity provider to include the expected values.
Keeping them aligned
To use the same organizational groups for both control planes, provision directory groups through SCIM from the identity provider that issues the OIDC group claims. Keep the directory group names and claim values aligned. Stacklok Enterprise evaluates the two group models independently.
Related information
- Users and groups for directory group administration.
- SCIM provisioning to source directory groups from your identity provider.
- Enterprise authorization for the cluster-level policy that matches claim groups.