Hi all,
I’m configuring the creation of Resources/Policies/Permissions in a Client using OpenID Connect so that the authorization logic for a Resource Path is moved out of my application (@RolesAllowed) and managed by Keycloak 20.
I’ve managed to do that using the Admin Console, is there a way to automate it with the kcadm.sh or REST API ? So far I have been able only to find only the top-level client creation command:
./kcadm.sh create clients -r demo-realm -s clientId=demo-realm-client -s clientAuthenticatorType=client-secret -s secret=secret -s 'redirectUris=["http://localhost:8080/*"]' -s enabled=true -s directAccessGrantsEnabled=true -s serviceAccountsEnabled=true -s authorizationServicesEnabled=true
I haven’t found a way to add also the Resources/Policies/Permissions part. Any idea?
Thanks!