【发布时间】:2020-04-17 13:44:09
【问题描述】:
我想通过邮递员中的 api 在特定客户端 keycloak 中为用户添加角色,但我得到“错误”:“找不到客户端” 这个网址: 邮政- http://localhost:8080/auth/admin/realms/{realmName}/users/{userId}/role-mappings/clients/{clientId}
这个身体:
{
"roles": [
{
"id": "0830ff39-43ea-48bb-af8f-696bc420c1ce",
"name": "confirm-kilid-user",
"description": "${role_uma_authorization}",
"composite": false,
"clientRole": true,
"containerId": "344e7c81-e7a2-4a43-b013-57d7ed198eee"
}
]
}
【问题讨论】: