Hello,
I tried to update defaultGroups via kcadm command line, but it didn't work
I want to add a existing group to defaultGroups. The followings I've been
tried:
$ bin/kcadm.sh update realms/demo -b
'{"defaultGroups":["/demogroup"]}'
$ bin/kcadm.sh update realms/demo -s 'defaultGroups=["/demogroup"]'
Didn't work, even configure defaultGroups when creating realm
$ bin/kcadm.sh create realms -b '{"realm":"demo",
"enabled":true,
"defaultGroups":["/demogroup"]}'
It's weird because defaultRoles property seems to work fine.
$ bin/kcadm.sh update realms/demo -b '{"defaultRoles":["test",
"demo"]}'
To verify the changes, run the following:
$ bin/kcadm.sh get realms/demo | grep default
The result shows:
"defaultRoles" : [ "test", "demo" ],
defaultGroups never shows.
Am I doing something wrong? Please help me, thanks.
Best regards,
Timothy
Show replies by date