You can use the federation provider to check the password in the legacy store and then
save the password to Keycloak in:
UserFederationProvider.validCredentials(RealmModel realm, UserModel user,
List<UserCredentialModel> input);
If you really want to send and email for them to pick a new password, you’d probably want
to trigger that behavior for the above method.
Scott Rossillo
Smartling | Senior Software Engineer
srossillo(a)smartling.com
<
http://www.sigstr.com/>
On Nov 30, 2015, at 3:52 AM, Frank van Veen
<Frank.vanVeen(a)planonsoftware.com> wrote:
Hi,
Currently I’m working on importing users with a user federation implementation. The way
we want to import a user is by copying user metadata into keycloak followed by sending a
email with a password reset link to the freshly imported user. Is the achievable with
keycloak 1.6.1?
Best regards,
Frank van Veen
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org <mailto:keycloak-user@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/keycloak-user
<
https://lists.jboss.org/mailman/listinfo/keycloak-user>