assign-client-role-to-user
Assign a specific client role to a user in a Keycloak realm using the MCP server, ensuring proper access control based on defined roles and permissions.
Instructions
Assign a client role to a user
Input Schema
Name | Required | Description | Default |
---|---|---|---|
clientUniqueId | Yes | ||
realm | Yes | ||
roleName | Yes | ||
userId | Yes |
Input Schema (JSON Schema)
{
"properties": {
"clientUniqueId": {
"type": "string"
},
"realm": {
"type": "string"
},
"roleName": {
"type": "string"
},
"userId": {
"type": "string"
}
},
"required": [
"realm",
"userId",
"clientUniqueId",
"roleName"
],
"type": "object"
}