Any idea regarding the below ?
As a workaround how can I update existing client programmatically ? I couldn't find it in the admin API.
Thanks again,
Haim.
From: Haim Vana
Sent: Thursday, May 26, 2016 2:17 PM
To: keycloak-user@lists.jboss.org
Subject: How to create the same client (same id) for multiple realms programmatically
Hi,
I am trying to create the same client for many realms, however it creates it only once, probably because they have the same id, however in UI I am able to create
it.
Any idea how I can create the same client for different realms programmatically with the same id ?
This is my code sample:
ClientRepresentation clientRepresentation = new ClientRepresentation();
clientRepresentation.setId(clientId); // Same clientId for all reamls
realm.clients().create(clientRepresentation); //
Client is created only for first realm
Any advice will be appreciated,
Haim.