----- Original Message -----
From: "Anton Hughes" <ah(a)magick.nu>
To: "Marek Posolda" <mposolda(a)redhat.com>
Sent: Thursday, 7 May, 2015 9:58:14 PM
Subject: Re: [keycloak-user] Migrating custom user database to Keycloak
On Fri, Mar 20, 2015 at 8:58 AM, Marek Posolda < mposolda(a)redhat.com > wrote:
Yes, Keycloak also verified during each authentication (or interaction with
the UserModel) if user still exists in your backend and it's removed from
Keycloak DB if not.
Normally user is synced to Keycloak DB after successful login (your step 4),
but you can also sync all your users from your storage at once or setup
Thanks for your help with this.
Ideally, what we would like is to have keycloak do all user-management - that
is, migrate all users out of our custom application and store them in
This would slim down our application, and avoid having to custom provider.
Is this possible?
Yes, you've got two options atm:
* Export your users to a json file and import into Keycloak - in the future we want to be
able to import users into existing realm, but currently you have to create a new realm
* Use the admin rest api (or java admin client) to import users
keycloak-user mailing list