当我尝试使用新的自定义用户角色创建时,我能够创建用户,但在角色映射选项卡上,它没有反映:
有效载荷:
{
"username": "user1",
"enabled": true,
"firstName": "user",
"lastName": "name",
"credentials": [
{
"type": "password",
"value": "*******"
}
],
"realmRoles": [ "user" ],
"clientRoles": {
"account": ["view-profile", "manage-account"]
}
}