Hi,
I am not able to get client level available roles in keycloak using
keycloak-admin-client.jar. Please find sample code i am using to get client
and then thought of getting available roles under a client.
ClientsResource clientsResource = getRealm().clients();
ClientRepresentation> clientsRepresentation = clientsResource.
findByClientId(appName);
clientRepresentation = clientsRepresentation.get(0);
clientRepresentation.getDefaultRoles();
With above code i am only getting default roles under a client but not all
available roles as there is no method available in ClientResource class.
Thanks,
Jitendra Chouhan