assign-role-to-group
Assign a realm role or client role to a group in Keycloak; specify clientId to target a client-specific role.
Instructions
Assign a realm role, or a client role when clientId is given, to a group
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| groupId | Yes | Group ID | |
| clientId | No | Client ID to resolve roleName as a client role. Omit for a realm role | |
| roleName | Yes | Role name |