[keycloak-user] synchronize Users in old database with keycloak Database

Marek Posolda mposolda at redhat.com
Mon Dec 5 06:32:59 EST 2016


On 05/12/16 11:48, Celso Agra wrote:
> Hi all,
>
> My question is about, how Can I synchronize my old database that contains
> users from another system with keycloak (kc).
>
> I'm trying to migrate my authentication software (legacy) to keycloak, but
> I'd like to keep the old users syncronized with the kc database.
>
> If I use Service Provider Interfaces (spi), I'll keep all users updated
> from keycloak info. But What about the reverse path? Is there a way to
> update keycloak with users from another database?
Yes.

For example if you have Keycloak configured with LDAP userStorage 
provider and you add some user directly to your LDAP server, the 
Keycloak will see this new user automatically.

See docs and examples for userStorage/userFederation for more details. 
(The docs is work in progress though).

Marek
>
> Thank you.
>
> Best regards,
>
> Celso Agra
> _______________________________________________
> 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