[keycloak-user] Updating user attributes within an Authenticator
Dmitry Telegin
dt at acutus.pro
Fri Nov 23 05:29:16 EST 2018
Hello Marco,
Please check this out: http://lists.jboss.org/pipermail/keycloak-user/2018-November/016299.html
Cheers,
Dmitry Telegin
CTO, Acutus s.r.o.
Keycloak Consulting and Training
Pod lipami street 339/52, 130 00 Prague 3, Czech Republic
+42 (022) 888-30-71
E-mail: info at acutus.pro
On Fri, 2018-11-23 at 09:59 +0000, marco.scheuermann at daimler.com wrote:
> Hi community,
>
> is there a way to update custom user attributes within an Authenticator?
> I currently cannot find any API which allows to update an existing user.
>
> I only can find this for credentials:
>
> UserCredentialModel userCredentialModel = new UserCredentialModel();
>
> userCredentialModel.setType(UserCredentialModel.PASSWORD);
>
> userCredentialModel.setValue(“password”);
>
> session.userCredentialManager().updateCredential(realmModel, userModel, userCredentialModel);
>
> How can I update custom user attributes?
>
> Thank you,
> Marco
>
>
> If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.
>
> _______________________________________________
> 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