Hi Marko,
That may be typo i again tried
/opt/keycloak/bin/kcadm.sh create components -r master -s
name=user-attribute -s providerId=user-attribute -s
parentId=b33088e5-321e-4b2f-afa6-7dca1871084e -s
'config."appid"=["SURE_APP"]' -s
'config."tenantId"=["T0"]' -s
'config."ugId"=["Admin_UserGroup"]'
End with below error
HTTP error - 400 Bad Request
On Fri, Mar 23, 2018 at 3:22 PM, Marko Strukelj <mstrukel(a)redhat.com> wrote:
Is there a space in the middle of parentId UUID?
On Fri, Mar 23, 2018 at 8:42 AM, Subodh Joshi <subodhcjoshi82(a)gmail.com>
wrote:
> I am trying to add three attributes of user and used below admin-cli
> command
>
> /opt/keycloak/bin/kcadm.sh create components -r master -s
> name=user-attribute -s providerId=user-attribute -s
> parentId=1295a70f-25f7-4e45-bcb8-285d750 1c6d9 -s
> 'config."appid"=["SURE_APP"]' -s
'config."tenantId"=["T0"]' -s
> 'config."ugId"=["Admin_UserGroup"]'
>
> but its throwing
>
> No server or realm specified. Use --server, --realm, or 'kcadm.sh config
> credentials'.
>
> Can someone please let me know what wrong with above command?
>
> --
> Subodh Chandra Joshi
> subodh1_joshi82(a)yahoo.co.in
>
http://www.questioninmind.com
> _______________________________________________
> keycloak-user mailing list
> keycloak-user(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>
--
Subodh Chandra Joshi
subodh1_joshi82(a)yahoo.co.in
http://www.trendsinnews.com