[keycloak-user] Admin user in Clustered Domain Mode

Stian Thorgersen sthorger at redhat.com
Wed Apr 26 06:50:26 EDT 2017


I think I know - you need to run that on the slave

On 26 April 2017 at 12:49, Stian Thorgersen <sthorger at redhat.com> wrote:

> I think the first one is the right one:
> /keycloak/bin/add-user-keycloak.sh --sc /keycloak/domain/servers/slave1/configuration
> -u admin1 -p lalalala
>
> Did you restart slave1 afterwards?
>
> On 26 April 2017 at 09:52, Marc Tempelmeier <marc.tempelmeier at flane.de>
> wrote:
>
>> Hi,
>>
>> any one an idea?
>>
>> Tried several ways now:
>>
>> On master:
>> /keycloak/bin/add-user-keycloak.sh --sc /keycloak/domain/servers/slave1/configuration
>> -u admin1 -p lalalala
>> /keycloak/bin/add-user-keycloak.sh --dc /keycloak/domain/configuration
>> -u admin2 -p lalalala \
>> /keycloak/bin/add-user-keycloak.sh --dc /keycloak/domain/configuration
>> -u admin3 -p lalalala --domain
>>
>> On slave:
>> /keycloak/bin/add-user-keycloak.sh -u admin4 -p lalalala
>>
>> No user works :(
>>
>> -----Ursprüngliche Nachricht-----
>> Von: keycloak-user-bounces at lists.jboss.org [mailto:keycloak-user-bounces@
>> lists.jboss.org] Im Auftrag von Marc Tempelmeier
>> Gesendet: Wednesday, April 19, 2017 9:03 AM
>> An: keycloak-user <keycloak-user at lists.jboss.org>
>> Betreff: [keycloak-user] Admin user in Clustered Domain Mode
>>
>> Hi,
>>
>> We connected a Domain Controller and 2 Slaves. How can I create an admin
>> user?
>>
>> There is a "--domain" switch, but the users created with it don´t work.
>> If I create a admin user on a slave it works and after that I can use him
>> on the other slave, because he is in the db.
>>
>> How is the intended workflow here?
>>
>> Greetings
>>
>> Marc
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>


More information about the keycloak-user mailing list